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 | a6d2faa3ffaa9f468ab17e121be02ce0d7495b99 (patch) | |
| tree | 838b2a369a6b10261bb8269366ae5666cb62ecaf /archaeological_finds/views.py | |
| parent | 8bbc6ecf7389357455739154ff1101dc2c1c42d5 (diff) | |
| download | Ishtar-a6d2faa3ffaa9f468ab17e121be02ce0d7495b99.tar.bz2 Ishtar-a6d2faa3ffaa9f468ab17e121be02ce0d7495b99.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()) |
