summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
commitbd3cec269e03148efb7afefa80a2ab49d7e652b6 (patch)
tree198fe970c4e25f07e629152114f72fda8942236c
parent26b5acc05b5252ce3f4cff03171225cef5eebbc0 (diff)
downloadIshtar-bd3cec269e03148efb7afefa80a2ab49d7e652b6.tar.bz2
Ishtar-bd3cec269e03148efb7afefa80a2ab49d7e652b6.zip
Container table: fix fetch request
-rw-r--r--archaeological_warehouse/models.py5
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 = {