Commit 8e110deb authored by Jérome Perrin's avatar Jérome Perrin

catalog Bug_getFollowUpListAsText for full text searches.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10440 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1eeb1b29
......@@ -58,3 +58,10 @@ class Bug( Folder ):
# Declarative security
security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation)
def SearchableText(self):
""" Used by the catalog for basic full text indexing """
return """ %s %s %s """ % ( self.getTitle(),
self.getDescription(),
self.Bug_getFollowUpListAsText() )
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