[Erp5-report] r12722 - /erp5/trunk/products/ERP5/Document/Coordinate.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 15 13:26:38 CET 2007


Author: jerome
Date: Thu Feb 15 13:26:36 2007
New Revision: 12722

URL: http://svn.erp5.org?rev=12722&view=rev
Log:
secuity declaration was missing for getSearchableText

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=12722&r1=12721&r2=12722&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Coordinate.py (original)
+++ erp5/trunk/products/ERP5/Document/Coordinate.py Thu Feb 15 13:26:36 2007
@@ -120,12 +120,15 @@
         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' )
-    def getSearchableText(self):
-        """
-            text for indexing
-        """
-        return "%s %s %s" % (self.title, self.description, self.asText())
     SearchableText = getSearchableText
 
     security.declareProtected( Permissions.AccessContentsInformation,




More information about the Erp5-report mailing list