From e5164b98987fb59df9891592030d3fac1d3f8ad7 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 22 Sep 2021 10:24:30 -0400 Subject: [PATCH] LP1919465 Avoid dupe Current Item's in pull list * Show a value for Current Item when a hold is targeted * Show a value for a new column on Requested Item for copy-level holds. Signed-off-by: Bill Erickson Signed-off-by: Jennifer Weston Signed-off-by: Chris Sharp --- .../eg2/src/app/staff/circ/holds/pull-list.component.html | 2 +- .../src/eg2/src/app/staff/share/holds/grid.component.html | 15 +++++++++++---- .../src/eg2/src/app/staff/share/holds/grid.component.ts | 4 ++++ 3 files changed, 16 insertions(+), 5 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 a881abb9f2..5b019b5685 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 @@ -4,7 +4,7 @@ - + - {{hold.cp_barcode}} + + {{hold.cp_barcode}} + + + {{hold.cp_barcode}} + - + + @@ -260,7 +268,6 @@ - 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 630f3638b9..4b7b776b04 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 @@ -597,6 +597,10 @@ export class HoldsGridComponent implements OnInit { } }); } + + isCopyHold(holdData: any): boolean { + return holdData.hold_type.match(/C|R|F/) !== null; + } } -- 2.11.0