From 6d45f9f4e6634d1f71781c6dfb6ed64c63ac9fb1 Mon Sep 17 00:00:00 2001 From: Briana Date: Mon, 18 Jan 2016 22:32:14 +0000 Subject: [PATCH] Bug 15571 reserveforothers permission does not remove Search to hold button from patron account To Test: 1. Create a user without 'reserveforothers' permission 2. Go onto user details 3. 'Search to hold' button should not be there 4. Create a user with 'reserveforothers' permission 5. Repeat steps 6. 'Search to Hold' button should be there Signed-off-by: Owen Leonard Signed-off-by: Briana --- koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc index 641bbad..f3bcd76 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -165,8 +165,12 @@ function searchToHold(){ [% END %] - Search to hold -
+ + [% IF ( CAN_user_reserveforothers ) %] + Search to hold + [% END %] + +