Commit 3526922a authored by Vincent Pelletier's avatar Vincent Pelletier

fixup! SelectionTool: asDomainQuery: New method

parent 501ec778
...@@ -1333,7 +1333,7 @@ class SelectionTool( BaseTool, SimpleItem ): ...@@ -1333,7 +1333,7 @@ class SelectionTool( BaseTool, SimpleItem ):
# Return the search dialog # Return the search dialog
return getattr(o, dialog_id)(REQUEST=REQUEST) return getattr(o, dialog_id)(REQUEST=REQUEST)
security.declarePublic('asDomainSelection') security.declarePublic('asDomainQuery')
def asDomainQuery(self, domain, strict_membership=False): def asDomainQuery(self, domain, strict_membership=False):
if isinstance(domain, DomainSelection): if isinstance(domain, DomainSelection):
warnings.warn("To pass a DomainSelection instance is deprecated.\n" warnings.warn("To pass a DomainSelection instance is deprecated.\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment