fix: wrong order

This commit is contained in:
Methapon Metanipat 2024-11-12 13:12:03 +07:00
parent aa7ba6d3ae
commit 1a18f7c5d7

View file

@ -85,6 +85,7 @@ export class FlowTemplateController extends Controller {
},
responsibleInstitution: true,
},
orderBy: { order: "asc" },
},
},
orderBy: [{ statusOrder: "asc" }, { createdAt: "asc" }],