From d5ef8dd5fe9a6e10992c45aa60cca2047fd47a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 9 Oct 2012 15:22:44 +0200 Subject: [PATCH] also index date_envoi --- themis/search/indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themis/search/indexer.py b/themis/search/indexer.py index d56eeca..a64f8aa 100644 --- a/themis/search/indexer.py +++ b/themis/search/indexer.py @@ -15,7 +15,7 @@ from themis.fields.vocabs import ContactsSource def mailDateIndexer(obj): if obj.portal_type not in ('courrier_entrant', 'courrier_sortant'): return None - for attr in ('date_reelle_courrier', 'date_reception'): + for attr in ('date_reelle_courrier', 'date_reception', 'date_envoi'): if not hasattr(obj, attr): continue if getattr(obj, attr):