Bugzilla – Attachment 192086 Details for
Bug 25193
Add syspref to control location for use of AllowRenewalIfOtherItemsAvailable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25193: (follow-up) Fix output formatting of database update
Bug-25193-follow-up-Fix-output-formatting-of-datab.patch (text/plain), 1.83 KB, created by
Katrin Fischer
on 2026-01-27 07:28:46 UTC
(
hide
)
Description:
Bug 25193: (follow-up) Fix output formatting of database update
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2026-01-27 07:28:46 UTC
Size:
1.83 KB
patch
obsolete
>From 07b5e8ab8270a623105997d0141f5ff1b576026c Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 26 Jan 2026 19:58:01 +0000 >Subject: [PATCH] Bug 25193: (follow-up) Fix output formatting of database > update > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > ...-add_AllowRenewalIfOtherItemsAvailableLocation_syspref.pl | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_25193-add_AllowRenewalIfOtherItemsAvailableLocation_syspref.pl b/installer/data/mysql/atomicupdate/bug_25193-add_AllowRenewalIfOtherItemsAvailableLocation_syspref.pl >index 23888958a8e..63bb1f5c3e3 100755 >--- a/installer/data/mysql/atomicupdate/bug_25193-add_AllowRenewalIfOtherItemsAvailableLocation_syspref.pl >+++ b/installer/data/mysql/atomicupdate/bug_25193-add_AllowRenewalIfOtherItemsAvailableLocation_syspref.pl >@@ -1,8 +1,9 @@ > use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_success say_info); > > return { > bug_number => "25193", >- description => "Add syspref to control location for use of AllowRenewalIfOtherItemsAvailable", >+ description => "Add system preference to control location for use of AllowRenewalIfOtherItemsAvailable", > up => sub { > my ($args) = @_; > my ( $dbh, $out ) = @$args{qw(dbh out)}; >@@ -11,6 +12,6 @@ return { > q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('AllowRenewalIfOtherItemsAvailableLocation', 'any', 'any|holdbranch', 'Specify where items must be available for fulfilling holds to allow a renewal.', 'Choice') } > ); > >- say $out "Added system preference 'AllowRenewalIfOtherItemsAvailableLocation'"; >+ say_success( $out, "Added new system preference 'AllowRenewalIfOtherItemsAvailableLocation'" ); > }, > }; >-- >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 25193
:
103318
|
103322
|
103516
|
107293
|
110083
|
110415
|
110437
|
161126
|
171168
|
172554
|
175482
|
177845
|
186352
|
192085
| 192086