From 9bbb694bde3dc63906ca52eda1d12f67a2181e7a Mon Sep 17 00:00:00 2001 From: Yulia Kallistratova Date: Tue, 27 May 2014 08:57:25 +0200 Subject: [PATCH] updated syntax --- Products/Archetypes/subscribers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Products/Archetypes/subscribers.py b/Products/Archetypes/subscribers.py index 9f6c9571..669eb242 100644 --- a/Products/Archetypes/subscribers.py +++ b/Products/Archetypes/subscribers.py @@ -4,4 +4,4 @@ def updateCreationOnCopy(obj, event): """ Update creation date when object duplicated via copy/paste""" obj.setCreationDate(DateTime()) - obj.reindexObject('CreationDate') + obj.reindexObject(idxs=['created'])