This commit is contained in:
2025-12-09 12:27:20 +01:00
parent 641130e506
commit c3467bdd9d

View File

@@ -48,6 +48,7 @@ export default async function resourceRoutesSpecial(server: FastifyInstance) {
if (sort) {
const col = (table as any)[sort]
if (col) {
//@ts-ignore
query =
ascQuery === "true"
? query.orderBy(asc(col))