sort todos by complete and date
This commit is contained in:
@@ -73,7 +73,10 @@ export const queries = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
todos: {
|
todos: {
|
||||||
orderBy: { dueDate: 'asc' },
|
orderBy: [
|
||||||
|
{ complete: 'asc' },
|
||||||
|
{ dueDate: 'asc' },
|
||||||
|
],
|
||||||
},
|
},
|
||||||
location: true
|
location: true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user