Merge pull request 'master' (!2102) from master into test
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2102
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Alex Moreno 2024-02-27 11:38:02 +00:00
commit 7874762da9
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]);
};