From: Mike Rylander Date: Wed, 3 Dec 2014 15:54:34 +0000 (-0500) Subject: LP#1402797 Add usr and requestor columns to the hold pull list X-Git-Tag: sprint4-merge-nov22~1671 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=49c1dbc6f06a299ecbf1780f5b3439322f5b38aa;p=working%2FEvergreen.git LP#1402797 Add usr and requestor columns to the hold pull list Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 b/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 index e47f713c3f..598d86ee3c 100644 --- a/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 @@ -79,6 +79,8 @@ + + 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 ee2fa79449..b155085dac 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 @@ -6,8 +6,8 @@ angular.module('egCoreMod') .factory('egHolds', - ['$modal','$q','egCore','egUser','egConfirmDialog','egAlertDialog', -function($modal , $q , egCore , egUser , egConfirmDialog , egAlertDialog) { + ['$modal','$q','egCore','egConfirmDialog','egAlertDialog', +function($modal , $q , egCore , egConfirmDialog , egAlertDialog) { var service = {}; @@ -410,10 +410,10 @@ function($modal , $q , egCore , egUser , egConfirmDialog , egAlertDialog) { hold_data.id = hold.id(); if (hold.requestor() && typeof hold.requestor() != 'object') - hold.requestor(egUser.get(hold.requestor())); + egCore.pcrud.retrieve('au',hold.requestor()).then(function(u) { hold.requestor(u) }); if (hold.usr() && typeof hold.usr() != 'object') - hold.usr(egUser.get(hold.usr())); + egCore.pcrud.retrieve('au',hold.usr()).then(function(u) { hold.usr(u) }); // current_copy is not always fleshed in the API if (hold.current_copy() && typeof hold.current_copy() != 'object')