Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico authored Mar 5, 2024
1 parent 15b8996 commit f7d3eab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/design/plone/contenttypes/adapters/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def __call__(self, query):
query = super().__call__(query=query)

if api.user.is_anonymous():
# For the anonymous user, only content that is not "excluded from the search" is found
query["exclude_from_search"] = False

return query

0 comments on commit f7d3eab

Please sign in to comment.