mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Preserve dbkey when navigating histories and datasets in Trackster.
This commit is contained in:
@@ -70,7 +70,14 @@ ${grid_javascripts()}
|
||||
<% data_libraries_active = " activetab" %>
|
||||
%endif
|
||||
%endif
|
||||
<a class="addtracktab${histories_active}" href="${h.url_for( action='list_histories' )}">Histories</a>
|
||||
## Add filter parameters manually because they include a hyphen and hence cannot be
|
||||
## added as key words.
|
||||
<%
|
||||
dbkey = '?'
|
||||
if cur_filter_dict:
|
||||
dbkey = cur_filter_dict.get( 'dbkey', '?' )
|
||||
%>
|
||||
<a class="addtracktab${histories_active}" href="${h.url_for( action='list_histories')}?f-dbkey=${dbkey}">Histories</a>
|
||||
<a class="addtracktab${data_libraries_active}" href="${h.url_for( action='list_libraries' )}">Data Libraries</a>
|
||||
<div class="divider"></div>
|
||||
</%def>
|
||||
|
||||
Reference in New Issue
Block a user