sort customers
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-07-22 15:43:08 +03:30
parent c925d2e539
commit ced46e500d
3 changed files with 16 additions and 12 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"folders": [
{
"path": "./"
},
{
"path": "./danak-admin"
}
],
"settings": {}
}
@@ -1,11 +0,0 @@
{
"folders": [
{
"path": "../../../.."
},
{
"path": "../../../../../danak-admin"
}
],
"settings": {}
}
@@ -172,7 +172,11 @@ export class UserRepository extends Repository<User> {
.orWhere("user.userName ILIKE :search", { search: `%${queryDto.q}%` });
}
return await queryBuilder.skip(skip).take(limit).getManyAndCount();
return await queryBuilder
.orderBy("user.createdAt", "DESC")
.skip(skip)
.take(limit)
.getManyAndCount();
}
//************* */