Bugzilla – Attachment 134823 Details for
Bug 30728
Allow real-time holds queue opt-out
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30728: Add RealTimeHoldsQueue syspref
Bug-30728-Add-RealTimeHoldsQueue-syspref.patch (text/plain), 2.06 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-05-10 17:22:37 UTC
(
hide
)
Description:
Bug 30728: Add RealTimeHoldsQueue syspref
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-05-10 17:22:37 UTC
Size:
2.06 KB
patch
obsolete
>From f0f3cf8fa963bca25744b4d0b4c15e7d5b99f95f Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 10 May 2022 14:17:17 -0300 >Subject: [PATCH] Bug 30728: Add RealTimeHoldsQueue syspref > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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 > >diff --git a/installer/data/mysql/atomicupdate/bug_30728.pl b/installer/data/mysql/atomicupdate/bug_30728.pl >new file mode 100755 >index 0000000000..4a1472cfb2 >--- /dev/null >+++ b/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') >+ }); >+ }, >+}; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >index 750e731832..6810f251c5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >+++ b/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: >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30728
:
134823
|
134824
|
134825
|
134826
|
134827
|
134828
|
134829
|
134831
|
134832
|
134833
|
134834
|
134857
|
134858
|
134859
|
134860
|
134967