From 3db6e17c9eb05e3680328a76b352aa9cf555db43 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 16 Jul 2013 12:50:25 -0400 Subject: [PATCH] Bug 10597: fix Search to hold button on record details page The holds button in cat-toolbar is broken for "search to hold". It is a split button rather than a dropdown button. Clicking the caret works fine, but clicked the button sends you to the marc editor! Test Plan: 1) View a patron's details page 2) Click 'search to hold' 3) Search for something 4) On the results page, click a result line's title link ( catalogue/detail.pl ) 5) Note the "Place hold" button is a split button, click the left half of the button, note it redirects you to the editor. 6) Apply this patch 7) Repeat steps 1-5 Signed-off-by: Srdjan Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton (cherry picked from commit b77af9326232d8512527040c4984b7bdc167c388) Signed-off-by: Tomas Cohen Arazi --- .../prog/en/includes/cat-toolbar.inc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index 3683ac938b..553d9ae744 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -204,14 +204,15 @@ CAN_user_serials_create_subscription ) %] [% UNLESS ( norequests ) %] [% IF ( holdfor ) %] [% ELSE %] -- 2.39.5