Skip to content

Commit

Permalink
No parenthesis by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fmassot committed Feb 18, 2024
1 parent 3285e1e commit 0eeb154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ export class QuickwitDataSource
let lquery = LuceneQuery.parse(query.query ?? '')
switch (action.type) {
case 'ADD_FILTER': {
lquery = lquery.addFilter(action.options.key, action.options.value)
lquery = lquery.addFilter(action.options.key, action.options.value, '', false)
break;
}
case 'ADD_FILTER_OUT': {
lquery = lquery.addFilter(action.options.key, action.options.value, '-')
lquery = lquery.addFilter(action.options.key, action.options.value, '-', false)
break;
}
}
Expand Down

0 comments on commit 0eeb154

Please sign in to comment.