Skip to content

Commit

Permalink
Update src/plone/restapi/search/handler.py
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Piercy <[email protected]>
  • Loading branch information
tedw87 and stevepiercy authored Oct 25, 2024
1 parent ba4b5f0 commit cd717ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/restapi/search/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _constrain_query_by_path(self, query):
query["path"]["query"] = path

def quote_chars(self, query):
# Escape parentheses by adding backslashes before them
# Remove parentheses from the query
return query.replace("(", "").replace(")", "").strip()

def search(self, query=None):
Expand Down

0 comments on commit cd717ef

Please sign in to comment.