Commit 3c7ac77f authored by Yoshinori Okuji's avatar Yoshinori Okuji

Define getId. This is useful for ZopeProfiler.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3044 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c11ba71b
...@@ -119,6 +119,9 @@ class Selection(Acquisition.Implicit, Traversable, Persistent): ...@@ -119,6 +119,9 @@ class Selection(Acquisition.Implicit, Traversable, Persistent):
security.declarePublic('domain') security.declarePublic('domain')
security.declarePublic('report') security.declarePublic('report')
def getId(self):
return self.name
def __init__(self, method_path=None, params=None, sort_on=None, default_sort_on=None, def __init__(self, method_path=None, params=None, sort_on=None, default_sort_on=None,
uids=None, invert_mode=0, list_url='', domain=None, report=None, uids=None, invert_mode=0, list_url='', domain=None, report=None,
columns=None, checked_uids=None, name=None, index=None): columns=None, checked_uids=None, name=None, index=None):
......
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