From 5e5f0ee283eed34f3defb663f0177e163a854af9 Mon Sep 17 00:00:00 2001 From: Rafal Kopaczka Date: Fri, 17 Oct 2014 16:22:04 +0200 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Fixes problem by adding a permission check to the template. Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index f167e32d61..2d302c4d93 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -357,7 +357,9 @@ function filterByFirstLetterSurname(letter) { + [% IF CAN_user_tools_manage_patron_lists %] + [% END %] -- 2.39.5
 Card Name Category