Bugzilla – Attachment 7378 Details for
Bug 6299
Provide a list of authorized values for relator terms
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6299 - Advertise this addition during upgrade
Bug-6299---Advertise-this-addition-during-upgrade.patch (text/plain), 1.79 KB, created by
Jared Camins-Esakov
on 2012-01-29 13:41:31 UTC
(
hide
)
Description:
Bug 6299 - Advertise this addition during upgrade
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-01-29 13:41:31 UTC
Size:
1.79 KB
patch
obsolete
>From fc54c71187dadb66b5d660b988cf4cdda6667a73 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Thu, 4 Aug 2011 17:47:42 -0300 >Subject: [PATCH] Bug 6299 - Advertise this addition during upgrade >Content-Type: text/plain; charset="UTF-8" > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >August 10, 2011: Fixed some small typos. > >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >Oct 7th, 2011: rebased for master > >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >January 12, 2012: Noted that RELTERMs are currently available only for en. >--- > installer/data/mysql/updatedatabase.pl | 8 +++++++- > 1 files changed, 7 insertions(+), 1 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 0982282..ce608b3 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -4598,7 +4598,6 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > SetVersion($DBversion); > } > >- > $DBversion = "3.07.00.007"; > if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > $dbh->do("ALTER TABLE items MODIFY materials text;"); >@@ -4654,6 +4653,13 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > print "Upgrade done (Added support for local cover images)\n"; > SetVersion($DBversion); > } >+ >+$DBversion = "3.07.00.XXX"; >+if (C4::Context->preference("Version") < TransformToNum($DBversion)) { >+ print "RELTERMS category available for English-language relator terms. They are not loaded during upgrade but can be easily inserted using the provided marc21_relatorterms.sql SQL script (currently available for en only).\n"; >+ SetVersion($DBversion); >+} >+ > =head1 FUNCTIONS > > =head2 DropAllForeignKeys($table) >-- >1.7.2.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 6299
:
4398
|
4577
|
4847
|
4848
|
4855
|
4890
|
4937
|
4938
|
4940
|
4957
|
5735
|
5736
|
7371
|
7372
|
7373
|
7374
|
7378
|
7389
|
7408
|
7490
|
7500
|
7501
|
7509
|
7637
|
7638
|
7639