Commit f1ba8ece authored by HERBERT Ryan's avatar HERBERT Ryan

sample_set/all.html missing sample_type for sort

Added missing parameter to request when sorting the sample_set list
parent c42b4724
......@@ -29,7 +29,7 @@
{{ for header in fields: }}
{{if isAdmin or header['public']:}}
<td class="{{if header['width']:}}column_{{=header['width']}}{{pass}} pointer"
onclick="db.call('sample_set/all', {'sort' : '{{=header['sort']}}', 'filter' : '{{=request.vars["filter"]}}'
onclick="db.call('sample_set/all', {'type': '{{=helper.get_type()}}', 'sort' : '{{=header['sort']}}', 'filter' : '{{=request.vars["filter"]}}'
{{if not reverse and request.vars["sort"]==header['sort'] :}} , 'reverse' : true {{pass}} })">
{{=header['name']}}
</td>
......
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