From a6d2faa3ffaa9f468ab17e121be02ce0d7495b99 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 18 Aug 2016 13:44:22 +0200 Subject: Manage operation relation types in context record and find searches (refs #2799) --- archaeological_finds/views.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archaeological_finds/views.py') 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()) -- cgit v1.2.3