Honor onEmptyFilter in views

This commit is contained in:
Adria Navarro 2024-10-02 16:22:17 +02:00
parent 557add173a
commit 0484b798fc
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ export async function search(
options.query = query options.query = query
} else { } else {
options.query = { options.query = {
onEmptyFilter: viewQuery.onEmptyFilter,
$and: { $and: {
conditions: [viewQuery, options.query], conditions: [viewQuery, options.query],
}, },