From: Mike Rylander Date: Mon, 28 Sep 2015 15:02:44 +0000 (-0400) Subject: webstaff: Pass IDs instead of objects for prefix and suffix X-Git-Tag: sprint4-merge-nov22~807 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=84c93d33f241c02f1f901baf3857e5828364c4b9;p=working%2FEvergreen.git 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 --- 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) {