Bugzilla – Attachment 106396 Details for
Bug 23797
Convert OpacLoginInstructions system preference to news block
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23797: (follow-up) Increase the size of opac_news.lang
Bug-23797-follow-up-Increase-the-size-of-opacnewsl.patch (text/plain), 1.06 KB, created by
Owen Leonard
on 2020-06-29 13:16:24 UTC
(
hide
)
Description:
Bug 23797: (follow-up) Increase the size of opac_news.lang
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-06-29 13:16:24 UTC
Size:
1.06 KB
patch
obsolete
>From 92de790b0e1e1853d7f34d304df8446c67ac788e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 29 Jun 2020 13:07:42 +0000 >Subject: [PATCH] Bug 23797: (follow-up) Increase the size of opac_news.lang > >This patch adds a database update to increase the size of the >opac_news.lang column in order to accommodate longer values. >--- > installer/data/mysql/atomicupdate/bug-23797.perl | 7 +++++++ > 1 file changed, 7 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug-23797.perl > >diff --git a/installer/data/mysql/atomicupdate/bug-23797.perl b/installer/data/mysql/atomicupdate/bug-23797.perl >new file mode 100644 >index 0000000000..07b0d8a2d3 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug-23797.perl >@@ -0,0 +1,7 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do( "ALTER TABLE opac_news CHANGE lang lang VARCHAR(50)" ); >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 23797: Extend the opac_news lang column to accommodate longer values)\n"; >+} >-- >2.11.0
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 23797
:
101610
|
101699
|
106326
|
106396
|
106639
|
106640
|
106641
|
106760
|
106761
|
106762