mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
wrap the where query in parenthesis because we also need to check user_id
This commit is contained in:
parent
a068b16cb1
commit
1697f11e75
1 changed files with 1 additions and 1 deletions
|
|
@ -691,7 +691,7 @@ export const searchLibraryItems = async (
|
|||
if (query) {
|
||||
// add where clause from query
|
||||
queryBuilder
|
||||
.andWhere(query)
|
||||
.andWhere(`(${query})`)
|
||||
.setParameters(paramtersToObject(parameters))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue