Commit 594a2b07 authored by Rafael Monnerat's avatar Rafael Monnerat

Added back removed method.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22779 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c9bc352a
......@@ -61,3 +61,13 @@ class Bug(Ticket):
, PropertySheet.Movement
, PropertySheet.Bug
)
def SearchableText(self):
""" Used by the catalog for basic full text indexing """
full_text = []
for message in self.contentValues(portal_type='Bug Line'):
full_text.append(message.getTextContent(""))
return """ %s %s %s """ % ( self.getTitle(),
self.getDescription(),
' '.join(full_text))
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