diff --git a/src/design/plone/contenttypes/adapters/query.py b/src/design/plone/contenttypes/adapters/query.py index 53c20472..d3b0e924 100644 --- a/src/design/plone/contenttypes/adapters/query.py +++ b/src/design/plone/contenttypes/adapters/query.py @@ -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