Specify the filter first for unified search

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2022-06-08 19:49:03 +02:00
parent de6b0dadbe
commit 78786a2887
No known key found for this signature in database
GPG key ID: 36E3664E099D0614
3 changed files with 5 additions and 5 deletions

View file

@ -31,8 +31,8 @@ export const defaultLimit = loadState('unified-search', 'limit-default')
export const minSearchLength = loadState('unified-search', 'min-search-length', 2)
export const enableLiveSearch = loadState('unified-search', 'live-search', true)
export const regexFilterIn = /[^-]in:([a-z_-]+)/ig
export const regexFilterNot = /-in:([a-z_-]+)/ig
export const regexFilterIn = /(^|\s)in:([a-z_-]+)/ig
export const regexFilterNot = /(^|\s)-in:([a-z_-]+)/ig
/**
* Create a cancel token

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long