Bug 41788: Add system preference UseHoldsQueueFilterOptions
Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
This commit is contained in:
parent
78f7abc855
commit
00c9b4a86c
|
|
@ -0,0 +1,20 @@
|
|||
use Modern::Perl;
|
||||
use Koha::Installer::Output qw(say_warning say_success say_info);
|
||||
|
||||
return {
|
||||
bug_number => "41788",
|
||||
description => "Add UseHoldsQueueFilterOptions system preference",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
# Do you stuffs here
|
||||
$dbh->do(
|
||||
q{
|
||||
INSERT IGNORE INTO systempreferences (variable,value)
|
||||
VALUES ('UseHoldsQueueFilterOptions','1')
|
||||
}
|
||||
);
|
||||
say_success( $out, "UseHoldsQueueFilterOptions system preference added" );
|
||||
},
|
||||
};
|
||||
|
|
@ -880,6 +880,7 @@ INSERT INTO systempreferences ( `variable`, `value` ) VALUES
|
|||
('useDaysMode','Calendar'),
|
||||
('useDefaultReplacementCost', '0'),
|
||||
('useDischarge','0'),
|
||||
('UseHoldsQueueFilterOptions','1'),
|
||||
('UseICUStyleQuotes','0'),
|
||||
('UseLibraryFloatLimits', '0'),
|
||||
('UseLocationAsAQInSIP', '0'),
|
||||
|
|
|
|||
|
|
@ -803,6 +803,12 @@ Circulation:
|
|||
actual: "the actual priority, which may be out of order"
|
||||
virtual: "'virtual' priorities, where each group is numbered separately"
|
||||
- .
|
||||
-
|
||||
- pref: UseHoldsQueueFilterOptions
|
||||
choices:
|
||||
1: Enable
|
||||
0: Disable
|
||||
- when running the holds queue.
|
||||
-
|
||||
- pref: RealTimeHoldsQueue
|
||||
choices:
|
||||
|
|
|
|||
Loading…
Reference in New Issue