Skip to content

Commit

Permalink
Fix full text serach filter with special characters
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
Andrea Rosci authored and Andrea Rosci committed Nov 28, 2023
1 parent e8ce2d4 commit 8bc846f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataTypes/object.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const createFilter: CreateFilter<OperatorSlug> = (
const properties = [schemaKey, schemaValue].map((key: string) => ({
properties: {
[key]: {
pattern: value,
pattern: regexEscape(value),
},
},
required: [key],
Expand Down

0 comments on commit 8bc846f

Please sign in to comment.