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:
Timo Stollenwerk
2010-09-29 07:56:36 +00:00
parent f2f2dd524f
commit f67c7cde6d
11 changed files with 100 additions and 121 deletions
+2 -2
View File
@@ -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):