diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-17 19:27:59 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-17 19:27:59 +0200 |
| commit | 4be9edb096c6685245b4a997130e1016578c1ff7 (patch) | |
| tree | cbb21e7b1e42aec0e763e3322863055b0c468dcc /archaeological_context_records/views.py | |
| parent | 84f9336f71dd70a8bb040b17eab4c753669c4276 (diff) | |
| parent | 64bb69c03ce1688c72b3f7ebd0e1550cd941aa69 (diff) | |
| download | Ishtar-4be9edb096c6685245b4a997130e1016578c1ff7.tar.bz2 Ishtar-4be9edb096c6685245b4a997130e1016578c1ff7.zip | |
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'archaeological_context_records/views.py')
| -rw-r--r-- | archaeological_context_records/views.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_context_records/views.py b/archaeological_context_records/views.py index bc95473e6..0ced39b20 100644 --- a/archaeological_context_records/views.py +++ b/archaeological_context_records/views.py @@ -121,6 +121,13 @@ get_contextrecordsource = get_item( 'context_record__unit': 'context_record__unit__pk', }) +get_contextrecordrelation = get_item( + models.RecordRelations, 'get_contextrecordrelation', + 'contextrecordrelation', + extra_request_keys={ + "left_record__operation": "left_record__operation__pk" + }) + record_search_wizard = SearchWizard.as_view([ ('general-record_search', RecordFormSelection)], label=_(u"Context record search"), |
