From 2d2824976cfe01a6ee0ecd8a0d55ea36d1f490c4 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Kyle M Hall Signed-off-by: Brendan A Gallagher (cherry picked from commit f118addf0f559448cc8ffc13a522ff4b35718fd3) Signed-off-by: Julian Maurice (cherry picked from commit 7fd9119cd8c8dfdbbef4e05cbae55209e07368a2) Signed-off-by: Frédéric Demians --- .../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 318f690879..2bf65cb19b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -156,8 +156,12 @@ function searchToHold(){
  • Print quick slip
  • - Search to hold -
    + + [% IF ( CAN_user_reserveforothers ) %] + Search to hold + [% END %] + +