Skip to content

Commit

Permalink
unrestricted is an explicit keyword now
Browse files Browse the repository at this point in the history
  • Loading branch information
gogobd committed Nov 8, 2023
1 parent 15432c5 commit df59eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/api/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def find(context=None, depth=None, untestricted=False, **kwargs):
if not valid_indexes:
return []

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

0 comments on commit df59eaf

Please sign in to comment.