From: Bill Erickson Date: Mon, 14 Sep 2020 18:43:25 +0000 (-0400) Subject: LP1888723 Volcopy parts on demand; checkdigit preference X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dd471e3e3c0f2aa09a0287d89127aafcbaa9973d;p=evergreen%2Fpines.git 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 --- 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'})