refs #6531_hotFix_lastTickets
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Sergio De la torre 2024-02-27 11:53:55 +01:00
parent a8065ab1a4
commit 699af5b9b7
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ module.exports = Self => {
FROM ticketTracking tt FROM ticketTracking tt
WHERE tt.userFk = ? WHERE tt.userFk = ?
GROUP BY ticketFk GROUP BY ticketFk
ORDER BY created DESC
LIMIT 5;`; LIMIT 5;`;
return await Self.rawSql(query, [userId]); return await Self.rawSql(query, [userId]);
}; };