From: Adam Bowling Date: Mon, 19 Jan 2015 17:05:19 +0000 (-0500) Subject: LP#1406387 Fix for Holds Placement Advanced Options X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c13ff9837c9fdeed6dea6f319504e164f7c208ac;p=evergreen%2Fpines.git 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 --- 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') %]