From c8f1fb223a1fd00e56329cc35d45f9fca1c6736c Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 14 Sep 2021 10:43:47 -0400 Subject: [PATCH] LP1919465 Pull list detail show record summary Display the bib record summary when displaying the hold detail view from the holds pull list. Signed-off-by: Bill Erickson Signed-off-by: Jennifer Weston Signed-off-by: Chris Sharp --- Open-ILS/src/eg2/src/app/staff/circ/holds/pull-list.component.html | 1 + Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.html | 4 ++++ Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.ts | 3 +++ Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html | 4 ++-- Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts | 3 +++ 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/circ/holds/pull-list.component.html b/Open-ILS/src/eg2/src/app/staff/circ/holds/pull-list.component.html index d60e610f9a..a881abb9f2 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/holds/pull-list.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/holds/pull-list.component.html @@ -5,6 +5,7 @@ persistKey="circ.holds.pull_list" printTemplate="hold_pull_list" showFields="acpl_name,cn_full_label,p_label,author,title,cp_barcode,pl_shortname,hold_type,potentials,request_time" + [showRecordSummary]="true" [enablePreFetch]="true" [hidePickupLibFilter]="true" [pullListOrg]="targetOrg()"> diff --git a/Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.html b/Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.html index e80d1ff524..10d2f5e44b 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.html @@ -1,6 +1,10 @@ +
+ +
+
diff --git a/Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.ts b/Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.ts index 2f28c24bd9..45b414d74a 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/holds/detail.component.ts @@ -43,6 +43,9 @@ export class HoldDetailComponent implements OnInit { return this.hold; } + // Display bib record summary along the top of the detail page. + @Input() showRecordSummary = false; + initDone: boolean; @Output() onShowList: EventEmitter; diff --git a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html index 2910573160..95c33a1996 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html @@ -27,8 +27,8 @@
- - + diff --git a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts index 521bd9c0bc..3ee5ca456e 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts @@ -60,6 +60,9 @@ export class HoldsGridComponent implements OnInit { // To pass through to the underlying eg-grid @Input() showFields: string; + // Display bib record summary along the top of the detail page. + @Input() showRecordSummary = false; + mode: 'list' | 'detail' | 'manage' = 'list'; initDone = false; holdsCount: number; -- 2.11.0