From: Bill Erickson Date: Fri, 3 Jul 2020 15:53:14 +0000 (-0400) Subject: LPXXX Angular Volcopy X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cde23d0d384773c2f153a438c80e21075a295fb2;p=working%2FEvergreen.git LPXXX Angular Volcopy Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/share/catalog/bib-display-field.component.html b/Open-ILS/src/eg2/src/app/share/catalog/bib-display-field.component.html index 021e451ecc..ed86303436 100644 --- a/Open-ILS/src/eg2/src/app/share/catalog/bib-display-field.component.html +++ b/Open-ILS/src/eg2/src/app/share/catalog/bib-display-field.component.html @@ -1,7 +1,19 @@ - - {{joiner}} - + + + + {{joiner}} + + + + + + + + {{joiner}} + + diff --git a/Open-ILS/src/eg2/src/app/share/catalog/bib-display-field.component.ts b/Open-ILS/src/eg2/src/app/share/catalog/bib-display-field.component.ts index abcbb4630a..83176d9995 100644 --- a/Open-ILS/src/eg2/src/app/share/catalog/bib-display-field.component.ts +++ b/Open-ILS/src/eg2/src/app/share/catalog/bib-display-field.component.ts @@ -32,6 +32,9 @@ export class BibDisplayFieldComponent implements OnInit { // If true, replace empty values with a non-collapsing space. @Input() usePlaceholder: boolean; + // If provided, turn the display value into a link + @Input() routerLink: string; + constructor() {} ngOnInit() {} 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 685f0adaf1..a5bc7679ba 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 @@ -105,7 +105,10 @@ export class VolCopyComponent implements OnInit { break; } - if (!this.volcopy.currentContext) { + if (this.volcopy.currentContext) { + this.loading = false; + + } else { // Avoid refetching the data during route changes. this.volcopy.currentContext = this.context; this.load(); diff --git a/Open-ILS/src/eg2/src/app/staff/share/bib-summary/bib-summary.component.html b/Open-ILS/src/eg2/src/app/staff/share/bib-summary/bib-summary.component.html index 3fd955888f..729700337a 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/bib-summary/bib-summary.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/bib-summary/bib-summary.component.html @@ -48,7 +48,8 @@
Title:
- +
Edition: