From ea14ae3013ee8aac351a76dcc06d49c49f78963f Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Fri, 2 Jul 2021 14:48:36 +0200 Subject: [PATCH] Fix star filter query part --- db/src/main/java/com/readrops/db/queries/ItemsQueryBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/src/main/java/com/readrops/db/queries/ItemsQueryBuilder.kt b/db/src/main/java/com/readrops/db/queries/ItemsQueryBuilder.kt index 92a41a75..55c33ea3 100644 --- a/db/src/main/java/com/readrops/db/queries/ItemsQueryBuilder.kt +++ b/db/src/main/java/com/readrops/db/queries/ItemsQueryBuilder.kt @@ -67,7 +67,7 @@ object ItemsQueryBuilder { FilterType.READ_IT_LATER_FILTER -> append("read_it_later = 1") FilterType.STARS_FILTER -> { if (separateState) { - append("ItemState.remote_id is NULL or ItemState.starred = 1 And read_it_later = 0") + append("ItemState.starred = 1 And read_it_later = 0") } else { append("starred = 1 And read_it_later = 0") }