Commit 939a6504 authored by Nicolas Dumazet's avatar Nicolas Dumazet

Role Informations have no references, remove .getReference() from search_list

This caused a traceback in manage_findResult.
Thanks to Julien for debugging help.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31864 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ad24a8d7
......@@ -92,8 +92,7 @@ class RoleInformation(XMLObject):
security.declareProtected(AccessContentsInformation, 'PrincipiaSearchSource')
def PrincipiaSearchSource(self):
"""Return keywords for "Find" tab in ZMI"""
search_source_list = [self.getReference(),
self.getTitle(),
search_source_list = [self.getTitle(),
self.getDescription(),
self.getConditionText(),
self.getRoleBaseCategoryScriptId()]
......
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