Fix link resolution in the document signature list view. This view exposes 3 navigable objects, use 'resolved_object' for correct link resolution.

This commit is contained in:
Roberto Rosario
2016-03-26 16:27:47 -04:00
parent 5de63c4477
commit 0ffe20befd
17 changed files with 33 additions and 46 deletions

View File

@@ -16,7 +16,7 @@ def is_not_root_node(context):
link_document_index_list = Link(
icon='fa fa-list-ul', text=_('Indexes'),
view='indexing:document_index_list', args='object.pk'
view='indexing:document_index_list', args='resolved_object.pk'
)
link_index_main_menu = Link(
icon='fa fa-list-ul', text=_('Indexes'), view='indexing:index_list'