Skip to content

Commit

Permalink
Implementation (without test)
Browse files Browse the repository at this point in the history
  • Loading branch information
gogobd committed Nov 7, 2023
1 parent 54e6491 commit 4197534
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plone/api/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,4 +652,7 @@ def find(context=None, depth=None, **kwargs):
if not valid_indexes:
return []

return catalog(**query)
if kwargs.get('unrestricted'):
return catalog.unrestrictedSearchResults(**query)
else:
return catalog(**query)

0 comments on commit 4197534

Please sign in to comment.