From b640e16f63bb7cc93696373af9b48c0e1ae3139b Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Sun, 1 Feb 2015 15:06:05 -0500 Subject: [PATCH] LP#1402797 Add Cancel Cause column to hold grid and flesh that object Signed-off-by: Mike Rylander Signed-off-by: Bill Erickson --- Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 | 1 + Open-ILS/web/js/ui/default/staff/circ/services/holds.js | 3 +++ 2 files changed, 4 insertions(+) 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) }); -- 2.11.0