diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-21 19:18:15 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-21 19:18:15 +0100 |
| commit | 76eeffe1354cad5683f499cbc68669d1d5237de5 (patch) | |
| tree | f89afc90cf5c0465404beeb218cb1ff05020428c /archaeological_finds/models_finds.py | |
| parent | 3589e3fda2c3acc49632f1e3a1a5255a5f5c7724 (diff) | |
| download | Ishtar-76eeffe1354cad5683f499cbc68669d1d5237de5.tar.bz2 Ishtar-76eeffe1354cad5683f499cbc68669d1d5237de5.zip | |
Finds search: conditionnal search (warehouse module available) for warehouses and containers (refs #3416)
Diffstat (limited to 'archaeological_finds/models_finds.py')
| -rw-r--r-- | archaeological_finds/models_finds.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 1d4d6e369..c54fd1ed9 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -573,6 +573,8 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem): 'image__isnull': 'image__isnull', 'container__location': 'container__location__pk', 'container__responsible': 'container__responsible__pk', + 'container__index': 'container__index', + 'container__reference': 'container__reference', } EXTRA_REQUEST_KEYS.update( dict( |
