mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 09:46:40 +00:00
Also order by id
This commit is contained in:
@@ -124,7 +124,7 @@ export function queryAccess(data: Q) {
|
||||
eq(accessAuditLog.resourceId, resources.resourceId)
|
||||
)
|
||||
.where(getWhere(data))
|
||||
.orderBy(desc(accessAuditLog.timestamp));
|
||||
.orderBy(desc(accessAuditLog.timestamp), desc(accessAuditLog.id));
|
||||
}
|
||||
|
||||
export function countAccessQuery(data: Q) {
|
||||
|
||||
Reference in New Issue
Block a user