Returns support for adding empty call numbers when adding holdings.
Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
Signed-off-by: Mary Llewelln <mllewell@biblio.org>
Signed-off-by: Elaine Hardy <ehardy@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
const copies = this.context.copyList();
const badCopies = copies.filter(copy => {
- return copy._dupe_barcode || !copy.barcode();
+ return copy._dupe_barcode || (!copy.isnew() && !copy.barcode());
}).length > 0;
if (badCopies) { return false; }