From 5a40941968ef4eb03d9fa1883eb4d7291aac9602 Mon Sep 17 00:00:00 2001 From: Rafal Kopaczka Date: Fri, 17 Oct 2014 16:22:04 +0200 Subject: [PATCH] [PASSED QA] 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. --- 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 f167e32..2d302c4 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 %] -- 1.9.1
 Card Name Category