From: Galen Charlton Date: Fri, 9 Jul 2021 21:10:31 +0000 (-0400) Subject: LP#1908722: add electronic resource links X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a20472a10d7956617901889d9309cc938cdecd99;p=evergreen%2Ftadl.git LP#1908722: add electronic resource links This patch adds electronic resource links to the Show More Details view in the Angular staff catalog, above the table of items. Signed-off-by: Galen Charlton Signed-off-by: Bill Erickson Signed-off-by: Michele Morgan --- diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html index a8cb874daa..a48f33ce3b 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html @@ -210,7 +210,26 @@ -
+
+
+
+
+
+ + + Electronic Resource: + Version of Resource: + Related Resource: + Electronic Resource + + +
+
{{url.label}} {{url.note}}
+
+
+
+
+
@@ -231,7 +250,7 @@
{{copy.copy_status}}
- + No Items To Display
diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts index 34706f117b..afdcd931a0 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts @@ -127,6 +127,8 @@ export class ResultsComponent implements OnInit, OnDestroy { 'eg.staff.catalog.results.show_more', this.showMoreDetails) .then(_ => { + this.searchContext.showResultExtras = this.showMoreDetails; + if (this.showMoreDetails) { this.staffCat.search(); } else {