Try fixing checkin and renew
authorJason Stephenson <jason@sigio.com>
Sat, 27 Oct 2018 00:32:38 +0000 (20:32 -0400)
committerJason Stephenson <jason@sigio.com>
Sat, 27 Oct 2018 00:32:38 +0000 (20:32 -0400)
Open-ILS/web/js/ui/default/staff/circ/checkin/app.js
Open-ILS/web/js/ui/default/staff/circ/renew/app.js

index de5861f..e9f9f51 100644 (file)
@@ -339,7 +339,7 @@ function($scope , $q , $window , $location , $timeout , egCore , checkinSvc , eg
         var copies = [];
         angular.forEach(items, function(item) {
             if (item.acp) {
-                copies.push(item.acp);
+                copies.push(egCore.idl.toHash(item.acp));
             }
         });
         if (copies.length) {
index 29bc81b..e4b7858 100644 (file)
@@ -185,7 +185,7 @@ function($scope , $window , $location , egCore , egGridDataProvider , egCirc) {
     $scope.showMarkDiscard = function(items) {
         var copyies = [];
         angular.forEach(items, function(item) {
-            if (item.acp) copies.push(item.acp);
+            if (item.acp) copies.push(egCore.idl.toHash(item.acp));
         });
 
         if (copies.length) {