Fix rest filter parsing (#13414)
Should now properly match logical expressions like and(...), or(...) instead of and/or without parenthesis, this should fix the issue with fields that start with or/and
This commit is contained in:
@ -21,7 +21,7 @@ export const parseFilter = (
|
||||
): Record<string, FieldValue> => {
|
||||
const result = {};
|
||||
const match = filterQuery.match(
|
||||
`^(${Object.values(Conjunctions).join('|')})((.+))$`,
|
||||
`^(${Object.values(Conjunctions).join('|')})\\((.+)\\)$`,
|
||||
);
|
||||
|
||||
if (match) {
|
||||
|
||||
Reference in New Issue
Block a user