PR comments.
This commit is contained in:
parent
90da9f89c6
commit
e6c5a7ecd7
|
@ -57,10 +57,9 @@ export async function searchView(
|
|||
}
|
||||
})
|
||||
})
|
||||
} else {
|
||||
const operator = query.allOr ? "$or" : "$and"
|
||||
} else
|
||||
query = {
|
||||
[operator]: {
|
||||
$and: {
|
||||
conditions: [query, body.query],
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue