LP1980409 require barcode in order to save
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 20 Sep 2022 20:02:47 +0000 (16:02 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Thu, 13 Oct 2022 17:33:06 +0000 (13:33 -0400)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts

index 26266f0..e80922c 100644 (file)
@@ -583,7 +583,7 @@ export class VolEditComponent implements OnInit {
         const copies = this.context.copyList();
 
         const badCopies = copies.filter(copy => {
-            return copy._dupe_barcode || (!copy.isnew() && !copy.barcode());
+            return copy._dupe_barcode || !copy.barcode();
         }).length > 0;
 
         if (badCopies) { return false; }