LP1889128 Place holds honors default phone
authorBill Erickson <berickxx@gmail.com>
Thu, 8 Oct 2020 14:27:59 +0000 (10:27 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Wed, 6 Jan 2021 00:48:27 +0000 (16:48 -0800)
Adds support for using the 'opac.default_phone' user setting when
placing holds in the staff catalog.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts

index 89bb3da..935fa33 100644 (file)
@@ -415,6 +415,10 @@ export class HoldComponent implements OnInit {
                 case 'opac.default_pickup_location':
                     this.pickupLib = Number(value);
                     break;
+
+                case 'opac.default_phone':
+                    this.phoneValue = value;
+                    break;
             }
         });