Sort tasks on start page by due date desc and id desc
This commit is contained in:
parent
309f75b19d
commit
5f0b5a0945
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@
|
|||
},
|
||||
methods: {
|
||||
loadPendingTasks() {
|
||||
let params = {sort_by: 'due_date_unix', order_by: 'desc'}
|
||||
let params = {sort_by: ['due_date_unix', 'id'], order_by: ['desc', 'desc']}
|
||||
if (!this.showAll) {
|
||||
params.startdate = Math.round(+ this.startDate / 1000)
|
||||
params.enddate = Math.round(+ this.endDate / 1000)
|
||||
|
|
Loading…
Reference in a new issue