From: Josh Lamos Date: Thu, 17 May 2012 20:06:44 +0000 (-0400) Subject: adding a hyperlink to the item status interface to allow retrieval of hold patron X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=65e5833c1d090446f74b1bc94f9da6c3d3c6e781;p=evergreen%2Fpines.git adding a hyperlink to the item status interface to allow retrieval of hold patron --- diff --git a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js index 128fd22be4..f733a4d119 100644 --- a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js +++ b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js @@ -626,7 +626,8 @@ function load_item() { JSAN.use('patron.util'); var au_obj = patron.util.retrieve_fleshed_au_via_id( ses(), details.hold.usr() ); $('hold_patron_name').setAttribute('value', $('circStrings').getFormattedString('staff.circ.copy_details.user_details', [au_obj.family_name(), au_obj.first_given_name(), au_obj.card().barcode()]) ); - +//MIEG: + $('hold_patron_name').setAttribute('onclick','circ.util.show_copy_details('+details.copy.id()+')'); set("hold_status", details.hold.status()); set("transit", details.hold.transit()); set("capture_time", util.date.formatted_date( details.hold.capture_time(), '%{localized}' )); diff --git a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul index bcdf212112..7d39fd9f82 100644 --- a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul +++ b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul @@ -287,7 +287,7 @@ -