Bugzilla – Attachment 176406 Details for
Bug 38794
AggregatedFullText description should be Aggregated full text
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38794: (follow-up) Add database update
Bug-38794-follow-up-Add-database-update.patch (text/plain), 1.34 KB, created by
David Nind
on 2025-01-11 16:49:48 UTC
(
hide
)
Description:
Bug 38794: (follow-up) Add database update
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-01-11 16:49:48 UTC
Size:
1.34 KB
patch
obsolete
>From 3548a8815753a00dad588c31fb5b9a1f264b6331 Mon Sep 17 00:00:00 2001 >From: Nicolas Hunstein <nicolas.hunstein@bsz-bw.de> >Date: Fri, 10 Jan 2025 14:44:31 +0000 >Subject: [PATCH] Bug 38794: (follow-up) Add database update > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../data/mysql/atomicupdate/bug_38794.pl | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_38794.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_38794.pl b/installer/data/mysql/atomicupdate/bug_38794.pl >new file mode 100755 >index 0000000000..4b027659eb >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_38794.pl >@@ -0,0 +1,19 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_success say_info); >+ >+return { >+ bug_number => "38794", >+ description => "Update description of authorized value AggregatedFullText", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # Do you stuffs here >+ $dbh->do( >+ q{update authorised_values set lib = "Aggregated full text" where category = "ERM_PACKAGE_CONTENT_TYPE" and authorised_value = "AggregatedFullText" and lib = "Aggregated full"} >+ ); >+ >+ say_success( $out, "Updated description of authorized value AggregatedFullText" ); >+ >+ }, >+}; >-- >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 38794
:
176328
|
176329
|
176345
|
176346
|
176405
|
176406
|
176951
|
176952
|
176953