From 6b7a9fca20cd0751ceaf9a42345b90d96016401b Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Tue, 20 Sep 2022 16:02:47 -0400 Subject: [PATCH] LP1980409 require barcode in order to save Signed-off-by: Terran McCanna Signed-off-by: Christine Morgan Signed-off-by: Beth Willis Signed-off-by: Michele Morgan --- Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts index 26266f0731..e80922cdcc 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts @@ -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; } -- 2.11.0