When staff member, without manage_patron_lists permissions, search for
patrons on result page, he gets table with additional column in head
table.
Test plan:
Log in as staff member without manage_patron_lists permissions, search
for any patron.
Check that table with results is fine now.
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixes problem by adding a permission check to the template.
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
<table id="memberresultst">
<thead>
<tr>
+ [% IF CAN_user_tools_manage_patron_lists %]
<th> </th>
+ [% END %]
<th>Card</th>
<th>Name</th>
<th>Category</th>