master #2102
|
@ -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