IMPORTANT : biblioitems.editionresponsibility field was sometimes spelled with a 'a'
authorPaul POULAIN <paul@koha-fr.org>
Tue, 9 Oct 2007 21:46:46 +0000 (16:46 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 10 Oct 2007 00:08:44 +0000 (19:08 -0500)
editionserponsability.
This commit fixes all editionresponsAbibility. However, that won't change the biblioitems
column name if you have a wrong one in your DB (if you install a new one, or try a migration from 2.2, that should be OK)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
installer/data/fr/1-Obligatoire/framework_DEFAULT.sql
installer/kohastructure.sql
koha-tmpl/opac-tmpl/prog/en/opac-detail.tmpl
updater/update22to30.pl

index cfeb5ab..f1b21f5 100644 (file)
@@ -1346,7 +1346,7 @@ INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`
 INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES ('225', 'a', 'titre de la collection', '', 0, 0, 'biblioitems.collectiontitle', 1, '', '', 'unimarc_field_225a.pl', 0, 0, '', NULL, '225a', '');
 INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES ('225', 'd', 'titre parallêle de la collection', '', 0, 0, '', -1, '', '', '', 0, 0, '', NULL, '', '');
 INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES ('225', 'e', 'compléments de titre de la collection', '', 0, 0, '', 1, '', '', '', 0, 0, '', NULL, '', '');
-INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES ('225', 'f', 'mention de responsabilité', '', 0, 0, 'biblioitems.editionresponsability', -1, '', '', '', 0, 0, '', NULL, '', '');
+INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES ('225', 'f', 'mention de responsabilité', '', 0, 0, 'biblioitems.editionresponsibility', -1, '', '', '', 0, 0, '', NULL, '', '');
 INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES ('225', 'h', 'numéro sous-coll.', '', 0, 0, '', 1, '', '', '', 0, 0, '', NULL, '', '');
 INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES ('225', 'i', 'titre de la sous-collection', '', 0, 0, '', 1, '', '', '', 0, 0, '', NULL, '', '');
 INSERT INTO `marc_subfield_structure` (`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `kohafield`, `tab`, `authorised_value`, `authtypecode`, `value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`, `defaultvalue`) VALUES ('225', 'v', 'numéro du volume', '', 0, 0, 'biblioitems.collectionvolume', 1, '', '', '', 0, 0, '', NULL, '', '');
index c07a065..271afdf 100644 (file)
@@ -675,7 +675,7 @@ CREATE TABLE `deletedbiblioitems` (
   `collectionissn` mediumtext,
   `collectionvolume` mediumtext,
   `editionstatement` text,
-  `editionresponsability` text,
+  `editionresponsibility` text,
   PRIMARY KEY  (`biblioitemnumber`),
   KEY `bibinoidx` (`biblioitemnumber`),
   KEY `bibnoidx` (`biblionumber`)
index 3d9e2b5..bea2e84 100644 (file)
@@ -77,7 +77,7 @@
     </p>
     <!-- /TMPL_IF -->
     <!-- TMPL_IF name="editionstatement" -->
-    <p><label><b>Edit. statement:</b></label><!-- TMPL_VAR name="editionstatement" --><!-- TMPL_IF name="editionresponsability" -->/<!-- TMPL_VAR name="editionresponsability" --><!-- /TMPL_IF-->&nbsp;</p>
+    <p><label><b>Edit. statement:</b></label><!-- TMPL_VAR name="editionstatement" --><!-- TMPL_IF name="editionresponsibility" -->/<!-- TMPL_VAR name="editionresponsibility" --><!-- /TMPL_IF-->&nbsp;</p>
     <!-- /TMPL_IF -->
     <!-- TMPL_IF name="illus" -->
     <p><label><b>Illus:</b></label><!-- TMPL_VAR name="illus" -->&nbsp;</p>
index 55b65e3..93bb495 100755 (executable)
@@ -840,7 +840,7 @@ my $DBversion = "3.00.00.000";
                 extra   => '',
             },
             {
-                field   => 'editionresponsability',
+                field   => 'editionresponsibility',
                 type    => 'text',
                 null    => 'null',
                 default => '',