Merge pull request 'refs #6531_hotFix_lastTickets' (!2101) from 6531_hotFixLastTickets into master
gitea/salix/pipeline/head This commit looks good Details
gitea/salix/pipeline/pr-test This commit looks good Details

Reviewed-on: #2101
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Sergio De la torre 2024-02-27 11:35:01 +00:00
commit f0924298bd
1 changed files with 1 additions and 0 deletions

View File

@ -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]);
};