sort todos by complete and date

This commit is contained in:
2025-07-14 18:06:01 -04:00
parent 31ce343566
commit 5931d042b5

View File

@@ -73,7 +73,10 @@ export const queries = {
}, },
}, },
todos: { todos: {
orderBy: { dueDate: 'asc' }, orderBy: [
{ complete: 'asc' },
{ dueDate: 'asc' },
],
}, },
location: true location: true
} }