From 699af5b9b73d78a83d2bd41528760624ff4b43cc Mon Sep 17 00:00:00 2001 From: sergiodt Date: Tue, 27 Feb 2024 11:53:55 +0100 Subject: [PATCH] refs #6531_hotFix_lastTickets --- modules/ticket/back/methods/ticket/myLastModified.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ticket/back/methods/ticket/myLastModified.js b/modules/ticket/back/methods/ticket/myLastModified.js index a47ea570f..096538bfe 100644 --- a/modules/ticket/back/methods/ticket/myLastModified.js +++ b/modules/ticket/back/methods/ticket/myLastModified.js @@ -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]); };