Commit 3489ae62 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

patient/index.html: 'compare patient' keeps the current 'filter' search

parent 1ea0fb4d
......@@ -67,7 +67,7 @@
{{if auth.has_permission("create", "patient") :}}
<span class="button2" onclick="db.call('patient/add')"> + new patient </span>
<span class="button2" onclick="db.call('patient/custom')"> compare patients </span>
<span class="button2" onclick="db.call('patient/custom', {'filter': '{{=request.vars['filter']}}' })"> compare samples/patients </span>
{{else:}}
<!-- <span class="button2 inactive" onclick="db.call('patient/add')" title="you don't have permission to create new patient"> add patient </span> -->
{{pass}}
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