From a3395fd5f108bc50d8e8ca51c6edf46c7cc0526b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 27 Sep 2018 23:15:08 +0200 Subject: Warehouse sheet: fix attached container filter table (refs #4240) --- archaeological_warehouse/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_warehouse/models.py') diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index cf7313ba5..03397161a 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -312,6 +312,8 @@ class Container(LightHistorizedItem, ImageModel): # search parameters EXTRA_REQUEST_KEYS = { 'location': 'location__pk', + 'location_id': 'location__pk', + 'responsible_id': 'responsible__pk', 'container_type': 'container_type__pk', 'reference': 'reference__icontains', 'old_reference': 'old_reference__icontains', -- cgit v1.2.3