From 2095b19c68ec8bc33b08c11ba84f329114bae5ad Mon Sep 17 00:00:00 2001 From: Cesar Velez Date: Fri, 11 Aug 2017 16:34:43 +0100 Subject: [PATCH] LP#1685929 - Makes sure changes due to LP1695007 are there LP#1695007 touched code in cat/app.js (in the refactored itemSvc) This makes sure those changes are in the new services/item.js Signed-off by: Cesar Velez --- Open-ILS/web/js/ui/default/staff/circ/services/item.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/item.js b/Open-ILS/web/js/ui/default/staff/circ/services/item.js index 85a9b8a683..6c17a39092 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/item.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/item.js @@ -45,7 +45,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog limit : 1 } - //Retrieve separate copy, combcirc, and accs information + //Retrieve separate copy, aacs, and accs information service.getCopy = function(barcode, id) { if (barcode) { return egCore.pcrud @@ -58,7 +58,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog } service.getCirc = function(id) { - return egCore.pcrud.search('combcirc', { target_copy : id }, + return egCore.pcrud.search('aacs', { target_copy : id }, service.circFlesh).then(function(circ) {return circ}); } @@ -882,4 +882,4 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog } return service; -}]) +}]) \ No newline at end of file -- 2.11.0