Bug 31333: Database changes
Sponsored-by: Catalyst IT, New Zealand Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
d6bd965a2e
commit
3b0151d854
2 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
use Modern::Perl;
|
||||
|
||||
return {
|
||||
bug_number => "31333",
|
||||
description => "Add new suggestionPatronCategoryExceptions system preference",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ($dbh, $out) = @$args{qw(dbh out)};
|
||||
|
||||
$dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('suggestionPatronCategoryExceptions', '', '', 'List the patron categories not affected by suggestion system preference if on', 'Free') });
|
||||
},
|
||||
};
|
|
@ -687,6 +687,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
|
|||
('SubscriptionHistory','simplified','simplified|full','Define the display preference for serials issue history in OPAC','Choice'),
|
||||
('SubscriptionLog','1',NULL,'If ON, enables subscriptions log','YesNo'),
|
||||
('suggestion','1','','If ON, enables patron suggestions feature in OPAC','YesNo'),
|
||||
('suggestionPatronCategoryExceptions', '', '', 'List the patron categories not affected by suggestion system preference if on', 'Free'),
|
||||
('SuspendHoldsIntranet','1','Allow holds to be suspended from the intranet.',NULL,'YesNo'),
|
||||
('SuspendHoldsOpac','1','Allow holds to be suspended from the OPAC.',NULL,'YesNo'),
|
||||
('SuspensionsCalendar','noSuspensionsWhenClosed','ignoreCalendar|noSuspensionsWhenClosed','Specify whether to use the Calendar in calculating suspension expiration','Choice'),
|
||||
|
|
Loading…
Reference in a new issue