creator index added.
svn path=/plone.app.discussion/trunk/; revision=27258
This commit is contained in:
@@ -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 '...'
|
||||
|
||||
Reference in New Issue
Block a user