diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-21 14:59:26 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-21 14:59:26 +0200 |
commit | 9f2605ac1290b25b8eab626bf1d5b8b68b049092 (patch) | |
tree | 05157efc0c9a188823372bb8f171912add11e2e1 /archaeological_context_records/models.py | |
parent | 82fa5eed0e7a25b93c56c97011d454e595665b65 (diff) | |
download | Ishtar-9f2605ac1290b25b8eab626bf1d5b8b68b049092.tar.bz2 Ishtar-9f2605ac1290b25b8eab626bf1d5b8b68b049092.zip |
Fix search parameters (refs #3064)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 625356990..c9bc8e66e 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -137,7 +137,7 @@ class ContextRecord(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem): IMAGE_PREFIX = 'context_records/' # search parameters - CONTEXTRECORD_EXTRA_KEYS = { + EXTRA_REQUEST_KEYS = { 'parcel__town': 'parcel__town__pk', 'operation__year': 'operation__year__contains', 'operation__code_patriarche': 'operation__code_patriarche', |