From bd3cec269e03148efb7afefa80a2ab49d7e652b6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 24 Oct 2017 18:28:26 +0200 Subject: Container table: fix fetch request --- archaeological_warehouse/models.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'archaeological_warehouse/models.py') 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 = { -- cgit v1.2.3