@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_30728.pl | 15 +++++++++++++++ .../en/modules/admin/preferences/circulation.pref | 6 ++++++ 2 files changed, 21 insertions(+) create mode 100755 installer/data/mysql/atomicupdate/bug_30728.pl --- a/installer/data/mysql/atomicupdate/bug_30728.pl +++ a/installer/data/mysql/atomicupdate/bug_30728.pl @@ -0,0 +1,15 @@ +use Modern::Perl; + +return { + bug_number => "30728", + description => "Allow opting out of real-time holds queue updating possible", + up => sub { + my ($args) = @_; + my ($dbh) = @$args{qw(dbh)}; + + $dbh->do(q{ + INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES + ('RealTimeHoldsQueue', '1', NULL, 'Enable updating the holds queue in real time.', 'YesNo') + }); + }, +}; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -681,6 +681,12 @@ Circulation: actual: "the actual priority, which may be out of order" virtual: "'virtual' priorities, where each group is numbered separately" - "." + - + - pref: RealTimeHoldsQueue + choices: + 1: Enable + 0: Disable + - updating the holds queue in real time. - - pref: AllowHoldItemTypeSelection choices: --