summaryrefslogtreecommitdiffstats
path: root/themis
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2017-04-07 14:06:10 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2017-04-07 14:06:30 (GMT)
commitad909b424894622b723b1f80325fec09d4a8b11d (patch)
tree1ce0343891d102c9c463bb4948f41821f578f1c5 /themis
parent86e28a175b8cc8ad9c8537b1bbb43acc74e233a7 (diff)
downloadthemis.fields-master.zip
themis.fields-master.tar.gz
themis.fields-master.tar.bz2
force indexation of mail answerHEADmaster
Diffstat (limited to 'themis')
-rw-r--r--themis/fields/widgets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/themis/fields/widgets.py b/themis/fields/widgets.py
index a642fa7..4c03215 100644
--- a/themis/fields/widgets.py
+++ b/themis/fields/widgets.py
@@ -331,6 +331,7 @@ class MailIdCreateDoc(BrowserView):
folder.invokeFactory(document_type, id=mail.id, title=mail.title,
mail_ref_id=mail.numero_courrier)
document_object = getattr(folder, mail.id)
+ document_object.reindexObject()
return self.request.response.redirect(document_object.absolute_url())