diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-24 18:28:26 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-24 18:28:26 +0200 |
commit | bd3cec269e03148efb7afefa80a2ab49d7e652b6 (patch) | |
tree | 198fe970c4e25f07e629152114f72fda8942236c /archaeological_warehouse/models.py | |
parent | 26b5acc05b5252ce3f4cff03171225cef5eebbc0 (diff) | |
download | Ishtar-bd3cec269e03148efb7afefa80a2ab49d7e652b6.tar.bz2 Ishtar-bd3cec269e03148efb7afefa80a2ab49d7e652b6.zip |
Container table: fix fetch request
Diffstat (limited to 'archaeological_warehouse/models.py')
-rw-r--r-- | archaeological_warehouse/models.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 41891b341..a7865cf0e 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -262,6 +262,11 @@ class Container(LightHistorizedItem, ImageModel): 'location': 'location__pk', 'container_type': 'container_type__pk', 'reference': 'reference__icontains', + 'finds__base_finds__context_record__operation': + 'finds__base_finds__context_record__operation', + 'finds__base_finds__context_record': + 'finds__base_finds__context_record', + 'finds': 'finds', } SHOW_URL = 'show-container' COL_LABELS = { |