Commit 8037b97c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

since getSearchableText is already well configurable in ERP5Type.Base, we...

since getSearchableText is already well configurable in ERP5Type.Base, we should no longer have such a definition here (and defining SearchableText() instead of getSearchableText() is bad anyway).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45062 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2f1fca0
...@@ -55,16 +55,6 @@ class Bug(Ticket): ...@@ -55,16 +55,6 @@ class Bug(Ticket):
, PropertySheet.Bug , 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))
def manage_afterClone(self, item): def manage_afterClone(self, item):
Ticket.manage_afterClone(self, item) Ticket.manage_afterClone(self, item)
# delete existing bug lines # delete existing bug lines
......
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