diff --git a/CHANGES.rst b/CHANGES.rst
index 32892c4..234d8d3 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -10,7 +10,8 @@ Breaking changes:
New features:
-- *add item here*
+- Reindex comments when they are modified.
+ [gforcada]
Bug fixes:
diff --git a/plone/app/discussion/browser/comment.py b/plone/app/discussion/browser/comment.py
index 9f22d93..6b9b5d3 100644
--- a/plone/app/discussion/browser/comment.py
+++ b/plone/app/discussion/browser/comment.py
@@ -12,6 +12,8 @@ from Products.statusmessages.interfaces import IStatusMessage
from z3c.form import button
from zope.component import getMultiAdapter
from zope.component import getUtility
+from zope.event import notify
+from zope.lifecycleevent import ObjectModifiedEvent
class View(BrowserView):
@@ -91,6 +93,8 @@ class EditCommentForm(CommentForm):
# Update text
self.context.text = data['text']
+ # Notify that the object has been modified
+ notify(ObjectModifiedEvent(self.context))
# Redirect to comment
IStatusMessage(self.request).add(_(u'comment_edit_notification',
diff --git a/plone/app/discussion/subscribers.py b/plone/app/discussion/subscribers.py
index 9663243..c3717e5 100644
--- a/plone/app/discussion/subscribers.py
+++ b/plone/app/discussion/subscribers.py
@@ -3,7 +3,7 @@ from Products.CMFCore.utils import getToolByName
def index_object(obj, event):
- """Index the object when it is added to the conversation.
+ """Index the object when it is added/modified to the conversation.
"""
catalog = getToolByName(obj, 'portal_catalog')
return catalog.reindexObject(obj)
diff --git a/plone/app/discussion/subscribers.zcml b/plone/app/discussion/subscribers.zcml
index befc5f3..5bb3535 100644
--- a/plone/app/discussion/subscribers.zcml
+++ b/plone/app/discussion/subscribers.zcml
@@ -39,6 +39,12 @@
handler=".subscribers.index_object"
/>
+
+