From dd471e3e3c0f2aa09a0287d89127aafcbaa9973d Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 14 Sep 2020 14:43:25 -0400 Subject: [PATCH] LP1888723 Volcopy parts on demand; checkdigit preference Support creating monograph parts on the fly in the Angular holdings editor. Create a separate preference for controlling the visibility of the 'Use Checkdigit' checkbox. Signed-off-by: Bill Erickson Signed-off-by: Ruth Frasur Signed-off-by: Galen Charlton --- .../app/staff/cat/volcopy/config.component.html | 10 +++++++ .../app/staff/cat/volcopy/vol-edit.component.html | 25 +++++++--------- .../app/staff/cat/volcopy/vol-edit.component.ts | 20 +++++++++---- .../app/staff/cat/volcopy/volcopy.component.html | 33 ++++++++++++---------- .../src/app/staff/cat/volcopy/volcopy.service.ts | 4 +-- 5 files changed, 55 insertions(+), 37 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/config.component.html b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/config.component.html index ab8f41b40a..1fc031a01f 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/config.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/config.component.html @@ -52,6 +52,16 @@
  • +
    + + +
    +
  • +
  • -
    - - -
    - + +
    + + +
    +
    + + +
    diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts index 7d065ec9a3..8f3559fc3b 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts @@ -406,8 +406,8 @@ export class VolCopyService { if (recordIds.length === 0) { return; } - // Avoid doubling up - if (this.bibParts[recordIds[0]]) { return; } + // All calls fetch updated data since we may be creating + // new mono parts during editing. this.pcrud.search('bmp', {record: recordIds, deleted: 'f'}) -- 2.11.0