From: Jane Sandberg Date: Sat, 26 Oct 2019 16:04:00 +0000 (-0700) Subject: LP1739288: Add a summary report to the list of bad barcodes. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7abc61d30c1160ebbbc44f8ba6d9263e79ea4077;p=working%2FEvergreen.git LP1739288: Add a summary report to the list of bad barcodes. Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/templates/staff/cat/item/index.tt2 b/Open-ILS/src/templates/staff/cat/item/index.tt2 index 55951b9f9d..51c014da0d 100644 --- a/Open-ILS/src/templates/staff/cat/item/index.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/index.tt2 @@ -150,7 +150,7 @@
-
+
+
+ +
diff --git a/Open-ILS/web/js/ui/default/staff/cat/item/app.js b/Open-ILS/web/js/ui/default/staff/cat/item/app.js index 94e7024fb6..5f0b01aa85 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/item/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/item/app.js @@ -360,6 +360,8 @@ function($scope , $q , $window , $location , $timeout , egCore , egNet , egGridD $scope.$watch('barcodesFromFile', function(newVal, oldVal) { $scope.context.itemsNotFound = []; + $scope.context.fileDoneLoading = false; + $scope.context.numBarcodesInFile = 0; if (newVal && newVal != oldVal) { $scope.args.barcode = ''; var barcodes = []; @@ -386,6 +388,7 @@ function($scope , $q , $window , $location , $timeout , egCore , egNet , egGridD if(itemSvc.copies[0]){ // Were any copies actually retrieved copyGrid.selectItems([itemSvc.copies[0].index]); } + $scope.context.fileDoneLoading = true; return; } @@ -398,6 +401,7 @@ function($scope , $q , $window , $location , $timeout , egCore , egNet , egGridD } if (barcodes.length) { + $scope.context.numBarcodesInFile = barcodes.length; egProgressDialog.open({value: 0, max: barcodes.length}); fetch_next_copy(); }