Commit 63f67fb7 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Define getSearchableText.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1389 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8096beb3
......@@ -82,11 +82,12 @@ class Coordinate(Base):
return self()
security.declareProtected( Permissions.View, 'SearchableText' )
def SearchableText(self):
def getSearchableText(self):
"""
text for indexing
"""
return "%s %s %s" % (self.title, self.description, self.asText())
SearchableText = getSearchableText
security.declareProtected( Permissions.View, 'asText' )
def asText(self):
......
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