LP1889128 Staffcat support placing multiple holds
authorBill Erickson <berickxx@gmail.com>
Tue, 28 Jul 2020 15:27:05 +0000 (11:27 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 15 Sep 2021 14:29:16 +0000 (10:29 -0400)
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 <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts

index 5399cd3..de32057 100644 (file)
@@ -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<any> {