creator index added.

svn path=/plone.app.discussion/trunk/; revision=27258
This commit is contained in:
Timo Stollenwerk
2009-06-01 23:29:09 +00:00
parent 04bed35357
commit dc948da00b
3 changed files with 24 additions and 1 deletions
+4
View File
@@ -18,6 +18,10 @@ MAX_DESCRIPTION=25
def comment_title(object):
return object.title
@indexer(IComment)
def comment_creator(object):
return object.creator
@indexer(IComment)
def comment_description(object):
# Return the first 25 words of the comment text and append '...'