We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ff2db commit 073c277Copy full SHA for 073c277
app/src/main/java/com/nononsenseapps/notepad/widget/list/ListWidgetService.java
@@ -311,8 +311,8 @@ public void onDataSetChanged() {
311
// if user does not want to also show completed tasks in widget, the query
312
// will filter away database records with a "completed" unix time
313
listWhere = isShowingCompleted
314
- ? Task.Columns.DBLIST + " IS ?"
315
- : Task.Columns.DBLIST + " IS ? AND " + Task.Columns.COMPLETED + " IS NULL";
+ ? "CAST(" + Task.Columns.DBLIST + " AS INTEGER) IS ?"
+ : "CAST(" + Task.Columns.DBLIST + " AS INTEGER) IS ? AND " + Task.Columns.COMPLETED + " IS NULL";
316
} else {
317
// all list ids
318
listArg = null;
0 commit comments