Bugzilla – Attachment 144684 Details for
Bug 30403
Update notforloan status also on check out
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30403: (QA follow-up) Fix up atomic update
Bug-30403-QA-follow-up-Fix-up-atomic-update.patch (text/plain), 1.52 KB, created by
Kyle M Hall (khall)
on 2022-12-16 14:35:07 UTC
(
hide
)
Description:
Bug 30403: (QA follow-up) Fix up atomic update
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2022-12-16 14:35:07 UTC
Size:
1.52 KB
patch
obsolete
>From 14be709a623c6a2ed2d5301fb26b5a2a66515db1 Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Fri, 16 Dec 2022 09:22:41 -0500 >Subject: [PATCH] Bug 30403: (QA follow-up) Fix up atomic update > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_30403.pl | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_30403.pl b/installer/data/mysql/atomicupdate/bug_30403.pl >index 2dd37a58cd..e155df848b 100755 >--- a/installer/data/mysql/atomicupdate/bug_30403.pl >+++ b/installer/data/mysql/atomicupdate/bug_30403.pl >@@ -2,13 +2,11 @@ use Modern::Perl; > > return { > bug_number => "30403", >- description => "A single line description", >+ description => "Add system preference UpdateNotForLoanStatusOnCheckin", > up => sub { > my ($args) = @_; > my ($dbh, $out) = @$args{qw(dbh out)}; > # Do you stuffs here > $dbh->do(q{INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES ('UpdateNotForLoanStatusOnCheckin', '', 'NULL', 'This is a list of value pairs. When an item is checked in, if the not for loan value on the left matches the items not for loan value it will be updated to the right-hand value. E.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.', 'Free')}); >- # Print useful stuff here >- say $out "Update is going well so far"; > }, > }; >-- >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 30403
:
132534
|
132535
|
132536
|
139675
|
142915
|
143883
|
144681
|
144682
|
144683
| 144684 |
149234