Commit af830adc authored by Ryan Herbert's avatar Ryan Herbert

sample_set/all.html conserve filter for stats

when clicking the stats link conserve the filter applied to the
sample_set list.
parent 509649f8
......@@ -66,7 +66,7 @@
{{else:}}
<!-- <span class="button2 inactive" onclick="db.call('sample_set/add')" title="you don't have permission to create new {{=helper.get_type_display()}}s"> add sample_set </span> -->
{{pass}}
<span class="button2" onclick="db.call('sample_set/stats', {'type': '{{=helper.get_type()}}'})">stats</span>
<span class="button2" onclick="db.call('sample_set/stats', {'type': '{{=helper.get_type()}}', 'filter': '{{=request.vars['filter']}}'})">stats</span>
</div>
<div class="db_block_right">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment