From a20472a10d7956617901889d9309cc938cdecd99 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 9 Jul 2021 17:10:31 -0400 Subject: [PATCH] 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 --- .../app/staff/catalog/result/record.component.html | 23 ++++++++++++++++++- .../app/staff/catalog/result/results.component.ts | 2 + 2 files changed, 23 insertions(+), 2 deletions(-) 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 a8cb874..a48f33c 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 34706f1..afdcd93 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 { -- 1.7.2.5