Bug 30500: Add OPACInTransitHoldPickupLocationChange syspref
Sponsored-by: Montgomery County Public Libraries Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
2353893c1a
commit
1ae7b9055a
|
|
@ -0,0 +1,18 @@
|
|||
use Modern::Perl;
|
||||
|
||||
return {
|
||||
bug_number => "30500",
|
||||
description => "Add option to allow user to change the pickup location while a hold is in transit",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ($dbh, $out) = @$args{qw(dbh out)};
|
||||
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
|
||||
VALUES
|
||||
('OPACInTransitHoldPickupLocationChange','0',NULL,'Allow user to change the pickup location while a hold is in transit','YesNo')
|
||||
});
|
||||
|
||||
say $out "Added new system preference 'OPACInTransitHoldPickupLocationChange'";
|
||||
},
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -714,6 +714,12 @@ Circulation:
|
|||
1: Allow
|
||||
0: "Don't allow"
|
||||
- a patron to renew an item with unfilled holds if other available items can fill that hold.
|
||||
-
|
||||
- pref: OPACInTransitHoldPickupLocationChange
|
||||
choices:
|
||||
1: Allow
|
||||
0: "Don't allow"
|
||||
- patrons to change their in transit holds pickup location.
|
||||
-
|
||||
- pref: AllowHoldPolicyOverride
|
||||
choices:
|
||||
|
|
|
|||
Loading…
Reference in New Issue