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
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 03 2018 12:00:44 GMT+0100 (CET)*/ /*Generated on:Mon Dec 03 2018 14:00:09 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master"; var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime(); var da_lss_adis_time = new Date().getTime();
+3 -2
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 03 2018 12:00:44 GMT+0100 (CET)*/ /*Generated on:Mon Dec 03 2018 14:00:09 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -18648,7 +18648,8 @@ class AutomaticDispose {
done: 'false' done: 'false'
}).and(function (item) { }).and(function (item) {
return item.next_check <= Math.floor(new Date().getTime() / 1000) return item.next_check <= Math.floor(new Date().getTime() / 1000)
}).limit(1) }).reverse()
.sortBy('next_check').limit(1)
} }
}).then((Wunsch) => { }).then((Wunsch) => {
// console.table(Wunsch); // console.table(Wunsch);
+2 -1
View File
@@ -1056,7 +1056,8 @@ class AutomaticDispose {
done: 'false' done: 'false'
}).and(function (item) { }).and(function (item) {
return item.next_check <= Math.floor(new Date().getTime() / 1000) return item.next_check <= Math.floor(new Date().getTime() / 1000)
}).limit(1) }).reverse()
.sortBy('next_check').limit(1)
} }
}).then((Wunsch) => { }).then((Wunsch) => {
// console.table(Wunsch); // console.table(Wunsch);