From: Bill Erickson Date: Wed, 22 Sep 2021 14:24:30 +0000 (-0400) Subject: LP1919465 Avoid dupe Current Item's in pull list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e5164b98987fb59df9891592030d3fac1d3f8ad7;p=evergreen%2Ftadl.git 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 --- 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; + } }