Bugzilla – Attachment 166122 Details for
Bug 35169
Make long overdue patron category options configurable in interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35169: add bug_35169.pl for DB
Bug-35169-add-bug35169pl-for-DB.patch (text/plain), 2.37 KB, created by
Kyle M Hall (khall)
on 2024-05-03 14:11:17 UTC
(
hide
)
Description:
Bug 35169: add bug_35169.pl for DB
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-05-03 14:11:17 UTC
Size:
2.37 KB
patch
obsolete
>From 33e008f4e3109ca69dff50f736c6527652f955b0 Mon Sep 17 00:00:00 2001 >From: Matthias Le Gac <matthias.le-gac@inlibro.com> >Date: Thu, 22 Feb 2024 15:33:25 -0500 >Subject: [PATCH] Bug 35169: add bug_35169.pl for DB > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../data/mysql/atomicupdate/bug_35169.pl | 23 +++++++++++++++++++ > .../admin/preferences/circulation.pref | 1 - > 2 files changed, 23 insertions(+), 1 deletion(-) > create mode 100755 installer/data/mysql/atomicupdate/bug_35169.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_35169.pl b/installer/data/mysql/atomicupdate/bug_35169.pl >new file mode 100755 >index 00000000000..6ca2a0f294a >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_35169.pl >@@ -0,0 +1,23 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "35169", >+ description => "Add new system preferences for longoverdue.pl borrowers categories", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # Do you stuffs here >+ $dbh->do( >+ q{ >+ INSERT INTO systempreferences (variable, value, options, explanation, type) VALUES >+ ('DefaultLongOverdueBorrowerCategories', '', NULL, NULL, NULL), >+ ('DefaultLongOverdueSkipBorrowerCategories', '', NULL, NULL, NULL); >+ } >+ ); >+ >+ # sysprefs >+ say $out "Added new system preference 'DefaultLongOverdueBorrowerCategories'"; >+ say $out "Added new system preference 'DefaultLongOverdueSkipBorrowerCategories'"; >+ }, >+}; >\ No newline at end of file >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 1040c700485..0f4ac446a70 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 >@@ -459,7 +459,6 @@ Circulation: > - <br>WARNING รข This preference will be active only if DefaultLongOverdueSkipBorrowerCategories is empty. > - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it." > >- > - > - pref: DefaultLongOverdueSkipBorrowerCategories > choices: patron-categories >-- >2.30.2
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 35169
:
162340
|
162345
|
162346
|
162611
|
162667
|
162688
|
163008
|
166121
| 166122 |
166123
|
166124
|
166125
|
166126
|
166127
|
166256