add: sort data

This commit is contained in:
Julian Krauser 2025-01-12 18:17:54 +01:00
parent 1c6c123142
commit 03036c8b77
17 changed files with 19 additions and 0 deletions

View file

@ -12,6 +12,7 @@ export default abstract class TemplateService {
return await dataSource
.getRepository(template)
.createQueryBuilder("template")
.orderBy("template", "ASC")
.getMany()
.then((res) => {
return res;