LP#1685929 - Makes sure changes due to LP1695007 are there
authorCesar Velez <Cesar.Velez@equinoxinitiative.org>
Fri, 11 Aug 2017 15:34:43 +0000 (16:34 +0100)
committerCesar Velez <Cesar.Velez@equinoxinitiative.org>
Fri, 11 Aug 2017 15:34:43 +0000 (16:34 +0100)
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 <cesar.velez@equinoxinitiative.org>

Open-ILS/web/js/ui/default/staff/circ/services/item.js

index 85a9b8a..6c17a39 100644 (file)
@@ -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