[Erp5-report] r45060 kazuhiko - /erp5/trunk/products/ERP5/Document/Coordinate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Apr 4 17:44:22 CEST 2011
Author: kazuhiko
Date: Mon Apr 4 17:44:22 2011
New Revision: 45060
URL: http://svn.erp5.org?rev=45060&view=rev
Log:
since getSearchableText is already well configurable in ERP5Type.Base, we should no longer have such a definition here (and using self.title instead of self.getTitle() is bad anyway).
Modified:
erp5/trunk/products/ERP5/Document/Coordinate.py
Modified: erp5/trunk/products/ERP5/Document/Coordinate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Coordinate.py?rev=45060&r1=45059&r2=45060&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Coordinate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Coordinate.py [utf8] Mon Apr 4 17:44:22 2011
@@ -119,18 +119,6 @@ class Coordinate(Base):
return self()
security.declareProtected( Permissions.AccessContentsInformation,
- 'getSearchableText' )
- def getSearchableText(self):
- """
- text for indexing
- """
- return "%s %s %s" % (self.title, self.description, self.asText())
-
- security.declareProtected( Permissions.AccessContentsInformation,
- 'SearchableText' )
- SearchableText = getSearchableText
-
- security.declareProtected( Permissions.AccessContentsInformation,
'asText' )
def asText(self):
"""
More information about the Erp5-report
mailing list