Only show days with temperature in list

This commit is contained in:
Julia Friesel
2018-06-05 18:29:12 +02:00
parent c4f68e6065
commit a8c981ee3e
+1 -1
View File
@@ -50,7 +50,7 @@ async function openDatabase() {
})
// just for testing purposes, the highest temperature will be topmost
// because I was too layz to make a scroll view
cycleDaysSortedbyTempValueView = db.objects('CycleDay').sorted('temperature.value', true)
cycleDaysSortedbyTempValueView = db.objects('CycleDay').filtered('temperature != null').sorted('temperature.value', true)
cycleDaysSortedbyDate = db.objects('CycleDay').sorted('date', true)
}