Bugzilla – Attachment 193583 Details for
Bug 41814
Limit the maximum age for patron categories without a specified range
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41814: (QA follow-up) Add bug number to atomic update and some style fixes
Bug-41814-QA-follow-up-Add-bug-number-to-atomic-up.patch (text/plain), 1.99 KB, created by
Katrin Fischer
on 2026-02-20 15:04:58 UTC
(
hide
)
Description:
Bug 41814: (QA follow-up) Add bug number to atomic update and some style fixes
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2026-02-20 15:04:58 UTC
Size:
1.99 KB
patch
obsolete
>From f57a1de7e9cc49d452d471913ab2aaed8edeb14b Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Fri, 20 Feb 2026 14:59:00 +0000 >Subject: [PATCH] Bug 41814: (QA follow-up) Add bug number to atomic update and > some style fixes > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > installer/data/mysql/atomicupdate/bug_xxxxx.pl | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_xxxxx.pl b/installer/data/mysql/atomicupdate/bug_xxxxx.pl >index 6cba0c59ddc..e95ad2d5d31 100755 >--- a/installer/data/mysql/atomicupdate/bug_xxxxx.pl >+++ b/installer/data/mysql/atomicupdate/bug_xxxxx.pl >@@ -2,8 +2,8 @@ use Modern::Perl; > use Koha::Installer::Output qw(say_warning say_success say_info); > > return { >- bug_number => "XXXXX", >- description => "Add a new syspref for PatronAgeRestriction", >+ bug_number => "41900", >+ description => "Add a new system preference for PatronAgeRestriction", > up => sub { > my ($args) = @_; > my ( $dbh, $out ) = @$args{qw(dbh out)}; >@@ -14,13 +14,13 @@ return { > INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('PatronAgeRestriction', '', NULL, 'Patron\'s maximum age during registration. If empty, no age restriction is applied.', 'Integer') > } > ); >- say $out "Added new syspref 'PatronAgeRestriction'"; >+ say_success( $out, "Added new system preference 'PatronAgeRestriction'" ); > > $dbh->do( > q{ > UPDATE IGNORE systempreferences SET `explanation` = 'Patron\'s maximum age during self registration. If empty, honor PatronAgeRestriction.' WHERE `variable` = 'PatronSelfRegistrationAgeRestriction' > } > ); >- say $out "Updated explanation for syspref 'PatronSelfRegistrationAgeRestriction'"; >+ say_success( $out, "Updated explanation for system preference 'PatronSelfRegistrationAgeRestriction'" ); > }, > }; >-- >2.39.5
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 41814
:
192969
|
193494
|
193582
| 193583