We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5574ff4 commit 66fbb8fCopy full SHA for 66fbb8f
src/redturtle/volto/restapi/services/querystringsearch/get.py
@@ -179,7 +179,10 @@ def is_event_search(self, query):
179
indexes_check = False
180
if "start" in indexes:
181
# TODO: do we have other cases to handle?
182
- if indexes["start"].get("o") == "plone.app.querystring.operation.date.lessThan": # noqa
+ custom_ops = [
183
+ "plone.app.querystring.operation.date.lessThan",
184
+ ]
185
+ if indexes["start"].get("o") in custom_ops:
186
# this is a custom search, not an "event" search
187
188
else:
0 commit comments