0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(core): list users order by created_at (#3019)

This commit is contained in:
wangsijie 2023-01-29 15:30:05 +08:00 committed by GitHub
parent 96df7698c5
commit eec39f7d9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,6 +156,7 @@ export const createUserQueries = (pool: CommonQueryMethods) => {
)}
from ${table}
${buildUserConditions(search, excludeUserIds, userIds)}
order by ${fields.createdAt} desc
limit ${limit}
offset ${offset}
`