From: Mike Rylander Date: Tue, 13 Oct 2015 16:24:55 +0000 (-0400) Subject: webstaff: typo preventing a setting from working X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2f4233da2a4bb7c553194b89315fe1ef69ec8644;p=evergreen%2Fmasslnc.git webstaff: typo preventing a setting from working 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 a990e73023..3ca00b77bc 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 @@ -686,7 +686,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , $scope.batch.prefix = $scope.defaults.prefix; $scope.batch.suffix = $scope.defaults.suffix; $scope.working.statcat_filter = $scope.defaults.statcat_filter; - if ($scope.defaults.always_vols) $scope.show_vols = true; + if ($scope.defaults.always_volumes) $scope.show_vols = true; if ($scope.defaults.barcode_checkdigit) itemSvc.barcode_checkdigit = true; if ($scope.defaults.auto_gen_barcode) itemSvc.auto_gen_barcode = true; } @@ -979,7 +979,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , ).then(function (data) { if (data) { - if (data.hide_vols && !$scope.defaults.always_vols) $scope.show_vols = false; + if (data.hide_vols && !$scope.defaults.always_volumes) $scope.show_vols = false; if (data.hide_copies) { $scope.show_copies = false; $scope.only_vols = true;