Commit f123a62c authored by Jérome Perrin's avatar Jérome Perrin

secuity declaration was missing for getSearchableText


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12722 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 838bcb5e
......@@ -120,12 +120,15 @@ class Coordinate(Base):
return self()
security.declareProtected( Permissions.AccessContentsInformation,
'SearchableText' )
'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,
......
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