LP1929593 bug fix collab/phasefx/lp1965446-and-lp1902120-and-lp1929593-eparts-ebarc
authorJason Etheridge <jason@EquinoxOLI.org>
Fri, 24 Feb 2023 12:48:58 +0000 (07:48 -0500)
committerJason Etheridge <jason@EquinoxOLI.org>
Fri, 24 Feb 2023 15:42:54 +0000 (10:42 -0500)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Open-ILS/web/js/ui/default/staff/circ/services/item.js

index 59fa906..7309a4e 100644 (file)
@@ -843,7 +843,8 @@ function(egCore , egOrg , egCirc , $uibModal , $q , $timeout , $window , ngToast
                                         } else {
                                             $scope.updateOK = true;
                                             $scope.focusBarcode = true;
-                                            if (stat) service.add_barcode_to_list(copy.barcode());
+                                            $scope.focusBarcode2 = false;
+                                            service.add_barcode_to_list($scope.barcode2);
                                             $uibModalInstance.close();
                                         }
                                     });