Bug 13105: Columns misplaced in member search result
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>
This commit is contained in:
parent
394d16001d
commit
5e5f0ee283
|
|
@ -357,7 +357,9 @@ function filterByFirstLetterSurname(letter) {
|
|||
<table id="memberresultst">
|
||||
<thead>
|
||||
<tr>
|
||||
[% IF CAN_user_tools_manage_patron_lists %]
|
||||
<th> </th>
|
||||
[% END %]
|
||||
<th>Card</th>
|
||||
<th>Name</th>
|
||||
<th>Category</th>
|
||||
|
|
|
|||
Loading…
Reference in New Issue