Bugzilla – Attachment 179918 Details for
Bug 39171
Rename IS02709 ElasticsearchMARCFormat to base64ISO2709
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39171: apply perltidy to atomicupdate file
Bug-39171-apply-perltidy-to-atomicupdate-file.patch (text/plain), 1.86 KB, created by
Thomas Klausner
on 2025-03-31 08:52:26 UTC
(
hide
)
Description:
Bug 39171: apply perltidy to atomicupdate file
Filename:
MIME Type:
Creator:
Thomas Klausner
Created:
2025-03-31 08:52:26 UTC
Size:
1.86 KB
patch
obsolete
>From 1442ed7f32c2ff77dc0fa255988955dd84c6f359 Mon Sep 17 00:00:00 2001 >From: Thomas Klausner <domm@plix.at> >Date: Mon, 31 Mar 2025 08:41:50 +0000 >Subject: [PATCH] Bug 39171: apply perltidy to atomicupdate file > >Signed-off-by: Thomas Klausner <domm@plix.at> >--- > ...9_ElasticsearchMarcFormat_to_base64ISO2709.pl | 16 ++++++++++------ > 1 file changed, 10 insertions(+), 6 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_39171-rename_IS02709_ElasticsearchMarcFormat_to_base64ISO2709.pl b/installer/data/mysql/atomicupdate/bug_39171-rename_IS02709_ElasticsearchMarcFormat_to_base64ISO2709.pl >index eee86af1e9..419d66f608 100755 >--- a/installer/data/mysql/atomicupdate/bug_39171-rename_IS02709_ElasticsearchMarcFormat_to_base64ISO2709.pl >+++ b/installer/data/mysql/atomicupdate/bug_39171-rename_IS02709_ElasticsearchMarcFormat_to_base64ISO2709.pl >@@ -1,14 +1,18 @@ > use Modern::Perl; > > return { >- bug_number => "39171", >+ bug_number => "39171", > description => "Rename ElasticsearchMARCFormat syspref options", >- up => sub { >+ up => sub { > my ($args) = @_; >- my ($dbh, $out) = @$args{qw(dbh out)}; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; > >- $dbh->do(q{ UPDATE systempreferences SET options = 'base64ISO2709|ARRAY' WHERE variable = 'ElasticsearchMARCFormat' }); >- $dbh->do(q{ UPDATE systempreferences SET value = 'base64ISO2709' WHERE variable = 'ElasticsearchMARCFormat' AND value = 'ISO2709' }); >+ $dbh->do( >+ q{ UPDATE systempreferences SET options = 'base64ISO2709|ARRAY' WHERE variable = 'ElasticsearchMARCFormat' } >+ ); >+ $dbh->do( >+ q{ UPDATE systempreferences SET value = 'base64ISO2709' WHERE variable = 'ElasticsearchMARCFormat' AND value = 'ISO2709' } >+ ); > say $out "Renamed options for 'ElasticsearchMARCFormat' system preference"; > }, >-} >+ } >-- >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 39171
:
178373
|
178374
|
178375
|
178384
|
179915
|
179916
|
179917
| 179918