Merge pull request 'refs #6531_hotFix_lastTickets' (!2101) from 6531_hotFixLastTickets into master
Reviewed-on: #2101 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
f0924298bd
|
@ -19,6 +19,7 @@ module.exports = Self => {
|
|||
FROM ticketTracking tt
|
||||
WHERE tt.userFk = ?
|
||||
GROUP BY ticketFk
|
||||
ORDER BY created DESC
|
||||
LIMIT 5;`;
|
||||
return await Self.rawSql(query, [userId]);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue