From: Mike Rylander Date: Sun, 1 Feb 2015 20:06:05 +0000 (-0500) Subject: LP#1402797 Add Cancel Cause column to hold grid and flesh that object X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b640e16f63bb7cc93696373af9b48c0e1ae3139b;p=evergreen%2Fpines.git LP#1402797 Add Cancel Cause column to hold grid and flesh that object Signed-off-by: Mike Rylander Signed-off-by: Bill Erickson --- 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) });