Bugzilla – Attachment 190900 Details for
Bug 38876
Typo in UpdateNotForLoanStatusOnCheckout description
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38876: (QA follow-up) automicupdate
Bug-38876-QA-follow-up-automicupdate.patch (text/plain), 1.60 KB, created by
Owen Leonard
on 2026-01-05 17:47:24 UTC
(
hide
)
Description:
Bug 38876: (QA follow-up) automicupdate
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-05 17:47:24 UTC
Size:
1.60 KB
patch
obsolete
>From 17c8c99c37436425c634d23315d25ccedd014e72 Mon Sep 17 00:00:00 2001 >From: Jessica Zairo <jzairo@bywatersolutions.com> >Date: Wed, 31 Dec 2025 16:02:04 +0000 >Subject: [PATCH] Bug 38876: (QA follow-up) automicupdate > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../data/mysql/atomicupdate/bug_38876.pl | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_38876.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_38876.pl b/installer/data/mysql/atomicupdate/bug_38876.pl >new file mode 100755 >index 00000000000..aba78c9b76c >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_38876.pl >@@ -0,0 +1,20 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_success say_info); >+ >+return { >+ bug_number => "38876", >+ description => "Typo in UpdateNotForLoanStatusOnCheckout description", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # Do you stuffs here >+ $dbh->do( >+ q{UPDATE systempreferences (explanation) VALUES ('This is a list of value pairs. When an item is checked out, if its not for loan value matches the value on the left, then the items not for loan value will be updated to the value on the right. \nE.g. ''-1: 0'' will cause an item that was set to ''Ordered'' to now be available for loan. Each pair of values should be on a separate line.') WHERE variable='UpdateNotForLoanStatusOnCheckout'} >+ ); >+ >+ # sysprefs >+ say $out "Updated system preference 'UpdateNotForLoanStatusOnCheckout'"; >+ >+ }, >+}; >-- >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 38876
:
189891
|
189893
|
189900
|
190798
|
190799
|
190899
|
190900
|
190901
|
191030
|
191031
|
191032