fix: No items matches the No collection filter
This commit is contained in:
parent
d11e71cec7
commit
b73faeb62c
|
@ -261,6 +261,9 @@ sealed interface DFilter {
|
||||||
What.COLLECTION -> {
|
What.COLLECTION -> {
|
||||||
// Special case: check in the set of
|
// Special case: check in the set of
|
||||||
// collections.
|
// collections.
|
||||||
|
if (id == null) {
|
||||||
|
return@run cipher.collectionIds.isEmpty()
|
||||||
|
}
|
||||||
return@run id in cipher.collectionIds
|
return@run id in cipher.collectionIds
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue