From c13ff9837c9fdeed6dea6f319504e164f7c208ac Mon Sep 17 00:00:00 2001 From: Adam Bowling Date: Mon, 19 Jan 2015 12:05:19 -0500 Subject: [PATCH] LP#1406387 Fix for Holds Placement Advanced Options In the staff client, when placing a hold and clicking Advanced Hold Options, the barcode input will populate with the staff member's barcode if it was previously empty, regardless of whether the radio input for the hold was specified for a patron or the staff member. This patch corrects that behavior, and also populates the input radio on load after clicking Advanced Hold Options. Signed-off-by: Adam Bowling Conflicts: Open-ILS/src/templates/opac/parts/place_hold.tt2 --- Open-ILS/src/templates/opac/parts/place_hold.tt2 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2 index cc61bd422f..e85671f457 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold.tt2 @@ -33,6 +33,7 @@ redirect = redirect.replace('^http:', 'https:') %] + [% usr_barcode = CGI.param('usr_barcode') | html; is_requestor = CGI.param('is_requestor'); @@ -131,13 +132,8 @@ [% bre_id = hdata.target.id %] - [% l('Advanced Hold Options') %] -======= - href="[% mkurl('', {hold_type => 'M', hold_target => hdata.record.metarecord.id}) %]">
[% l('Advanced Hold Options') %] ->>>>>>> a25fe69... OPAC UI modifications as per OPAC Working Group suggestions. [% END %] [% IF CGI.param('hold_type') == 'M' AND CGI.param('bre_id') %] -- 2.11.0