From: Bill Erickson Date: Tue, 28 Jul 2020 15:27:05 +0000 (-0400) Subject: LP1889128 Staffcat support placing multiple holds X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=81c84a64397d350cc404839ad7525d1c19dd227d;p=evergreen%2Fpines.git 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 --- 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 {