Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Mar 5, 2024
1 parent 02e7790 commit 15b8996
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/design/plone/contenttypes/adapters/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ def __call__(self, query):
Do not show excluded from search items when anonymous are performing
some catalog searches
"""
result = super().__call__(query=query)
query = super().__call__(query=query)

if api.user.is_anonymous():
result["exclude_from_search"] = False
query["exclude_from_search"] = False

return result
return query

0 comments on commit 15b8996

Please sign in to comment.