From 7b41b6654f124da9c6d3f3ce39c0f351c714c35d Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 25 Aug 2017 15:51:44 -0400 Subject: [PATCH] LP#1685929: (follow-up) fix passing copy when opening volume/copy editor Signed-off-by: Galen Charlton --- Open-ILS/web/js/ui/default/staff/circ/checkin/app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); } -- 2.43.2