From: Galen Charlton Date: Fri, 25 Aug 2017 19:51:44 +0000 (-0400) Subject: LP#1685929: (follow-up) fix passing copy when opening volume/copy editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7b41b6654f124da9c6d3f3ce39c0f351c714c35d;p=evergreen%2Fpines.git LP#1685929: (follow-up) fix passing copy when opening volume/copy editor Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/web/js/ui/default/staff/circ/checkin/app.js b/Open-ILS/web/js/ui/default/staff/circ/checkin/app.js index bbc8bbe99b..62713e4782 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/checkin/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/checkin/app.js @@ -361,8 +361,10 @@ function($scope , $q , $window , $location , $timeout , egCore , checkinSvc , eg var itemObjs = []; angular.forEach(items, function(i){ var h = egCore.idl.toHash(i); - h['call_number.record.id'] = h.record.doc_id; - itemObjs.push(h); + itemObjs.push({ + 'call_number.record.id': h.record.doc_id, + 'id' : h.acp.id + }); }); itemSvc.spawnHoldingsEdit(itemObjs,false,false); }