From: Bill Erickson Date: Fri, 17 Jul 2020 14:28:08 +0000 (-0400) Subject: LPXXX volcopy unified display option X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1c6dc95e9af8fd2b4132f31d134ef65d44148ef4;p=working%2FEvergreen.git LPXXX volcopy unified display option Signed-off-by: Bill Erickson --- 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 697462e36d..02bc4a1833 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 @@ -66,6 +66,16 @@ +
  • +
    + + +
    +
  • diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.component.html b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.component.html index b8dd002d6e..e6a13790c2 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.component.html @@ -18,14 +18,19 @@ Holdings
    + +
    +
    -
  • - Item Attributes - -
    -
    -
  • + +
  • + Item Attributes + +
    +
    +
  • +
  • Preferences diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.component.ts b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.component.ts index 9edfb74e72..3ca7101ff7 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.component.ts @@ -129,6 +129,14 @@ export class VolCopyComponent implements OnInit { .then(_ => this.context.setRecordId()) .then(_ => this.printLabels = this.volcopy.defaults.values.print_labels === true) + .then(_ => { + // unified display has no 'attrs' tab + if (this.volcopy.defaults.values.unified_display + && this.tab === 'attrs') { + this.tab = 'holdings'; + this.routeToTab(); + } + }) .then(_ => this.loading = false); }