summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-21 14:57:49 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-21 14:57:49 +0100
commitb37fea20fd79ecc0f7174dda57720f61efb4989b (patch)
tree615d13cd567d4e090deac43d4040725cc347d5d1 /archaeological_finds/models_finds.py
parentdeb4124adc6be428df2b79f6ae4615b3ef5dc35d (diff)
downloadIshtar-b37fea20fd79ecc0f7174dda57720f61efb4989b.tar.bz2
Ishtar-b37fea20fd79ecc0f7174dda57720f61efb4989b.zip
Finds search: search by warehouse (location & responsible) (refs #3416)
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index 4ece0b286..1d4d6e369 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -571,6 +571,8 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
'basket': 'basket',
'cached_label': 'cached_label__icontains',
'image__isnull': 'image__isnull',
+ 'container__location': 'container__location__pk',
+ 'container__responsible': 'container__responsible__pk',
}
EXTRA_REQUEST_KEYS.update(
dict(