diff --git a/product/ERP5/Document/Bug.py b/product/ERP5/Document/Bug.py index 20a4b5c3296d57582ab1ec4166e4e28c6c60e5b0..e83b8e74f411af2365f25f6e9e15328bab58a819 100644 --- a/product/ERP5/Document/Bug.py +++ b/product/ERP5/Document/Bug.py @@ -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() ) +