fix: more specific columns for sort

This commit is contained in:
Julian Krauser 2025-07-14 14:28:48 +02:00
parent 67916fca80
commit cc0a263325
16 changed files with 17 additions and 17 deletions

View file

@ -15,7 +15,7 @@ export default abstract class TemplateUsageService {
.leftJoinAndSelect("templateUsage.header", "headerTemplate")
.leftJoinAndSelect("templateUsage.body", "bodyTemplate")
.leftJoinAndSelect("templateUsage.footer", "footerTemplate")
.orderBy("scope", "ASC")
.orderBy("templateUsage.scope", "ASC")
.getMany()
.then((res) => {
return res;