[Erp5-report] r10440 - /erp5/trunk/products/ERP5/Document/Bug.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Oct 1 16:58:30 CEST 2006
Author: jerome
Date: Sun Oct 1 16:58:28 2006
New Revision: 10440
URL: http://svn.erp5.org?rev=10440&view=rev
Log:
catalog Bug_getFollowUpListAsText for full text searches.
Modified:
erp5/trunk/products/ERP5/Document/Bug.py
Modified: erp5/trunk/products/ERP5/Document/Bug.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Bug.py?rev=10440&r1=10439&r2=10440&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Bug.py (original)
+++ erp5/trunk/products/ERP5/Document/Bug.py Sun Oct 1 16:58:28 2006
@@ -58,3 +58,10 @@
# 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() )
+
More information about the Erp5-report
mailing list