Bugzilla – Attachment 11784 Details for
Bug 8207
Modify authority type frameworks to allow see also fields to link to thesauri
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8207 follow-up: correct typo in authority types
Bug-8207-follow-up-correct-typo-in-authority-types.patch (text/plain), 1.85 KB, created by
Jared Camins-Esakov
on 2012-08-23 13:24:59 UTC
(
hide
)
Description:
Bug 8207 follow-up: correct typo in authority types
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-08-23 13:24:59 UTC
Size:
1.85 KB
patch
obsolete
>From 1bffed78c1d7a49041224ed81fbf042654cde8cc Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Thu, 23 Aug 2012 09:23:50 -0400 >Subject: [PATCH] Bug 8207 follow-up: correct typo in authority types >Content-Type: text/plain; charset="UTF-8" > >--- > installer/data/mysql/updatedatabase.pl | 13 +++++++++++-- > 1 files changed, 11 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index ed0c674..6d3dde1 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -5569,8 +5569,8 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > $DBversion = "3.09.00.028"; > if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > unless ( C4::Context->preference('marcflavour') eq 'UNIMARC' ) { >- my %referencetypes = ( '00' => 'PERSO_CODE', >- '10' => 'ORGO_CODE', >+ my %referencetypes = ( '00' => 'PERSO_NAME', >+ '10' => 'CORPO_NAME', > '11' => 'MEETI_NAME', > '30' => 'UNIF_TITLE', > '48' => 'CHRON_TERM', >@@ -5635,6 +5635,15 @@ if(C4::Context->preference("Version") < TransformToNum($DBversion) ) { > SetVersion($DBversion); > } > >+$DBversion ="3.09.00.XXX"; >+if(C4::Context->preference("Version") < TransformToNum($DBversion) ) { >+ $dbh->do("UPDATE auth_subfield_structure SET frameworkcode = 'PERSO_NAME' WHERE frameworkcode = 'PERSO_CODE'"); >+ $dbh->do("UPDATE auth_subfield_structure SET frameworkcode = 'CORPO_NAME' WHERE frameworkcode = 'ORGO_CODE'"); >+ print "Upgrade to $DBversion done (Bug 8207: correct typo in authority types)\n"; >+ SetVersion($DBversion); >+} >+ >+ > =head1 FUNCTIONS > > =head2 TableExists($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 8207
:
10551
|
10703
|
10707
|
11784
|
11810