diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-18 13:44:22 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-18 13:44:22 +0200 |
commit | 6c40a1c20aecdd826760bc5ab87c20dc2ea9f40b (patch) | |
tree | 838b2a369a6b10261bb8269366ae5666cb62ecaf /archaeological_finds/views.py | |
parent | d3183ca243377637f84f74862f2b2660a4364198 (diff) | |
download | Ishtar-6c40a1c20aecdd826760bc5ab87c20dc2ea9f40b.tar.bz2 Ishtar-6c40a1c20aecdd826760bc5ab87c20dc2ea9f40b.zip |
Manage operation relation types in context record and find searches (refs #2799)
Diffstat (limited to 'archaeological_finds/views.py')
-rw-r--r-- | archaeological_finds/views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py index dc8b191ad..20f73c321 100644 --- a/archaeological_finds/views.py +++ b/archaeological_finds/views.py @@ -69,6 +69,9 @@ find_extra_keys = { get_find = get_item( models.Find, 'get_find', 'find', reversed_bool_fields=['image__isnull'], + relation_types_prefix={ + 'ope_relation_types': + 'base_finds__context_record__operation__'}, base_request={'downstream_treatment__isnull': True}, extra_request_keys=find_extra_keys.copy()) |