From ad909b424894622b723b1f80325fec09d4a8b11d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 7 Apr 2017 16:06:10 +0200 Subject: [PATCH] force indexation of mail answer --- themis/fields/widgets.py | 1 + 1 file changed, 1 insertion(+) 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())