v2 up sort by net open mission

This commit is contained in:
2018-12-03 14:00:10 +01:00
parent ea290015ef
commit 2b3782d787
3 changed files with 6 additions and 4 deletions

View File

@@ -1056,7 +1056,8 @@ class AutomaticDispose {
done: 'false'
}).and(function (item) {
return item.next_check <= Math.floor(new Date().getTime() / 1000)
}).limit(1)
}).reverse()
.sortBy('next_check').limit(1)
}
}).then((Wunsch) => {
// console.table(Wunsch);