From 81c84a64397d350cc404839ad7525d1c19dd227d Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 28 Jul 2020 11:27:05 -0400 Subject: [PATCH] LP1889128 Staffcat support placing multiple holds Adds support for the org unit setting 'circ.holds.max_duplicate_holds', which allows staff to place multiple holds per target in the staff catalog hold placement UI. Signed-off-by: Bill Erickson Signed-off-by: Michele Morgan --- Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts index 5399cd389e..de32057806 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts @@ -222,6 +222,10 @@ export class HoldComponent implements OnInit { return [...Array(this.maxMultiHolds).keys()].map(n => n + 1); } + holdCountRange(): number[] { + return [...Array(this.maxMultiHolds).keys()].map(n => n + 1); + } + // Load the bib, call number, copy, etc. data associated with each target. getTargetMeta(): Promise { -- 2.11.0