diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-17 19:24:28 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-17 19:24:28 +0200 |
| commit | 64bb69c03ce1688c72b3f7ebd0e1550cd941aa69 (patch) | |
| tree | 904d5a6c1c12572d5a81ed7831deabfb3cc08828 /archaeological_context_records/views.py | |
| parent | f102f5855c878f35a529aa6e1947e7516a1a67fa (diff) | |
| parent | 461e0320a8426fe82c4f6a7fd9cfa376c767fbdd (diff) | |
| download | Ishtar-64bb69c03ce1688c72b3f7ebd0e1550cd941aa69.tar.bz2 Ishtar-64bb69c03ce1688c72b3f7ebd0e1550cd941aa69.zip | |
Merge branch 'master' into v0.9
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"), |
