Remove title field from the comment form and replace it with an auto-generated title ("John Doe on Welcome to Plone").
This also fixes http://dev.plone.org/plone/ticket/11098 svn path=/plone.app.discussion/trunk/; revision=40431
This commit is contained in:
@@ -63,7 +63,7 @@ def commentators(object):
|
||||
|
||||
@indexer(IComment)
|
||||
def title(object):
|
||||
return object.title
|
||||
return object.Title()
|
||||
|
||||
@indexer(IComment)
|
||||
def creator(object):
|
||||
@@ -79,7 +79,7 @@ def description(object):
|
||||
|
||||
@indexer(IComment)
|
||||
def searchable_text(object):
|
||||
return object.title, object.text
|
||||
return object.text
|
||||
|
||||
@indexer(IComment)
|
||||
def in_response_to(object):
|
||||
|
||||
Reference in New Issue
Block a user