LP#1845556: Fixes spine label column not returning call number. user/abowling/lp1845556_spine_label_enhanced_printing_final_10_2021
authorAdam Bowling <abowling@emeralddata.net>
Tue, 26 Oct 2021 21:27:48 +0000 (17:27 -0400)
committerAdam Bowling <abowling@emeralddata.net>
Tue, 26 Oct 2021 21:27:48 +0000 (17:27 -0400)
Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Open-ILS/web/js/ui/default/staff/cat/printlabels/app.js

index 11905ab..8560697 100644 (file)
@@ -168,7 +168,7 @@ function ($scope, $q, $window, $routeParams, $location, $timeout, egCore, egNet,
                     , 'get_cn_for': function (copy) {
                         var key = $scope.rendered_cn_key_by_copy_id[copy.id];
                         if (key) {
-                            var manual_cn = $scope.rendered_call_number_set[copy.id];
+                            var manual_cn = $scope.rendered_cn_key_by_copy_id[copy.id];
                             if (manual_cn && manual_cn.value) {
                                 return manual_cn.value;
                             } else {