From dae55074cd75756d1b93806a1daa6549e1114853 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Wed, 31 Oct 2012 22:15:20 +0100 Subject: [PATCH] really set the modification date --- plone/app/discussion/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/comment.py b/plone/app/discussion/comment.py index 847b99b..2bad1b7 100644 --- a/plone/app/discussion/comment.py +++ b/plone/app/discussion/comment.py @@ -220,7 +220,7 @@ def notify_content_object(obj, event): # set the modified date and reindex the item accordingly # so that 304s work correctly. This means that adding a comment # effectively counts as modifying the content type. - content_obj.setModificationDate() + content_obj.setModificationDate(datetime.now()) content_obj.reindexObject(idxs=('total_comments', 'last_comment_date', 'commentators',