From 619eb2ff60e05cfbfce3d378081f406fdc60782a Mon Sep 17 00:00:00 2001 From: Kyle Huckins Date: Fri, 24 May 2019 19:55:44 +0000 Subject: [PATCH 1/1] LP#1789256 Monograph Part Column in Check Out Retrieve and display the label of all monograph parts for copy listed in the Check Out table Signed-off-by: Kyle Huckins Signed-off-by: Garry Collum Signed-off-by: Galen Charlton --- Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2 | 1 + Open-ILS/web/js/ui/default/staff/circ/services/circ.js | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2 index d4fce7c391..c7c6fc54b8 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2 @@ -152,6 +152,7 @@ + diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/circ.js b/Open-ILS/web/js/ui/default/staff/circ/services/circ.js index 724ae7fee6..3e5c57d441 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/circ.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/circ.js @@ -361,6 +361,12 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, egAddCopyAl data.route_to = data.acp.location().name(); } } + // allow us to get at the monograph parts associated with a copy + if (payload.copy && payload.copy.parts()) { + data._monograph_part = payload.copy.parts().map(function(part) { + return part.label(); + }).join(','); + } egWorkLog.record( (worklog_action == 'checkout' || worklog_action == 'noncat_checkout') -- 2.43.2