Bugzilla – Attachment 166432 Details for
Bug 19768
Possibility to choose "Note" tab in OpacSerialDefaultTab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19768: (follow-up) Database update
Bug-19768-follow-up-Database-update.patch (text/plain), 1.33 KB, created by
Owen Leonard
on 2024-05-08 17:47:08 UTC
(
hide
)
Description:
Bug 19768: (follow-up) Database update
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-05-08 17:47:08 UTC
Size:
1.33 KB
patch
obsolete
>From 0c5bc4b75f913b0e18c121958bbce4189efe6788 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 8 May 2024 17:37:59 +0000 >Subject: [PATCH] Bug 19768: (follow-up) Database update > >--- > .../data/mysql/atomicupdate/bug_19768.pl | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_19768.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_19768.pl b/installer/data/mysql/atomicupdate/bug_19768.pl >new file mode 100755 >index 0000000000..0ea2a3d5a0 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_19768.pl >@@ -0,0 +1,20 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_failure say_success say_info); >+ >+return { >+ bug_number => "19768", >+ description => "Add 'Title notes' tab to OpacSerialDefaultTab preference", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # Do you stuffs here >+ $dbh->do( >+ q{ UPDATE systempreferences SET value = 'holdings|serialcollection|subscriptions|titlenotes', options = 'holdings|serialcollection|subscriptions|titlenotes' WHERE variable = 'opacSerialDefaultTab' } >+ ); >+ >+ # Print useful stuff here >+ say $out "Added 'Title notes' option to opacSerialDefaultTab preference"; >+ >+ }, >+}; >-- >2.39.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 19768
:
165905
|
165934
|
166308
| 166432