add: sort data
This commit is contained in:
parent
1c6c123142
commit
03036c8b77
17 changed files with 19 additions and 0 deletions
|
@ -12,6 +12,7 @@ export default abstract class RoleService {
|
|||
.getRepository(role)
|
||||
.createQueryBuilder("role")
|
||||
.leftJoinAndSelect("role.permissions", "role_permissions")
|
||||
.orderBy("role", "ASC")
|
||||
.getMany()
|
||||
.then((res) => {
|
||||
return res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue