From 84c93d33f241c02f1f901baf3857e5828364c4b9 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Mon, 28 Sep 2015 11:02:44 -0400 Subject: [PATCH] webstaff: Pass IDs instead of objects for prefix and suffix Signed-off-by: Mike Rylander Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index d38cdd7660..5863f92774 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -1286,6 +1286,8 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , perCnCopies[cn_id].push(cp); } cp.call_number(cn_id); // prevent loops in JSON-ification + cnHash[cn_id].prefix(cnHash[cn_id].prefix().id()); // un-object-ize some fields + cnHash[cn_id].suffix(cnHash[cn_id].suffix().id()); // un-object-ize some fields }); angular.forEach(perCnCopies, function (v, k) { -- 2.11.0