diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-05 15:34:05 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-05 15:34:23 +0200 | 
| commit | a515f83fab51fd3efb61da22d7c2e9810535ccc6 (patch) | |
| tree | a5084dc4acfe5444b00b50b17e26fa0269fe4dea /archaeological_files/models.py | |
| parent | 664cab418cda08d1e133d4d30b70332a893375af (diff) | |
| download | Ishtar-a515f83fab51fd3efb61da22d7c2e9810535ccc6.tar.bz2 Ishtar-a515f83fab51fd3efb61da22d7c2e9810535ccc6.zip  | |
Searches: fix history modifier
Diffstat (limited to 'archaeological_files/models.py')
| -rw-r--r-- | archaeological_files/models.py | 9 | 
1 files changed, 1 insertions, 8 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py index e8df6cdae..8794be6ad 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -205,15 +205,8 @@ class File(ClosedItem, DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter,                            u"general-contractor-organization"),              'general_contractor__attached_to__cached_label__iexact'          ), -        'history_creator': SearchAltName( -            pgettext_lazy("key for text search", u"created-by"), -            'history_creator__ishtaruser__person__cached_label__iexact' -        ), -        'history_modifier': SearchAltName( -            pgettext_lazy("key for text search", u"modified-by"), -            'history_modifier__ishtaruser__person__cached_label__iexact' -        ),      } +    ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES)      POST_PROCESS_REQUEST = {          'towns__numero_insee__startswith': '_get_department_code',  | 
