From: Mike Rylander Date: Sun, 1 Feb 2015 20:06:05 +0000 (-0500) Subject: Add Cancel Cause column to hold grid and flesh that object X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=013037edf5a186026a0fbb223908df08a148d5e8;p=working%2FEvergreen.git Add Cancel Cause column to hold grid and flesh that object Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 index 89eb58dd45..0761b4126c 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 @@ -69,6 +69,7 @@ + diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/holds.js b/Open-ILS/web/js/ui/default/staff/circ/services/holds.js index f1fa1fa096..1ea2dc5484 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/holds.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/holds.js @@ -413,6 +413,9 @@ function($modal , $q , egCore , egConfirmDialog , egAlertDialog) { if (hold.requestor() && typeof hold.requestor() != 'object') egCore.pcrud.retrieve('au',hold.requestor()).then(function(u) { hold.requestor(u) }); + if (hold.cancel_cause() && typeof hold.cancel_cause() != 'object') + egCore.pcrud.retrieve('ahrcc',hold.cancel_cause()).then(function(c) { hold.cancel_cause(c) }); + if (hold.usr() && typeof hold.usr() != 'object') egCore.pcrud.retrieve('au',hold.usr()).then(function(u) { hold.usr(u) });