[Koha-bugs] [Bug 6931] hardcoded insert incompatible with UNIMARC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 19 07:04:26 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6931

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |katrin.fischer at bsz-bw.de
            Version|rel_3_6                     |master

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
It seems this wasn't fixed :( Perhaps still worth fixing for libraries updating
from older versions?

3976 $DBversion = "3.03.00.015";
3977 if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
3978     my $sth = $dbh->prepare("INSERT INTO `marc_subfield_structure`
(`tagfield`, `tagsubfield`, `liblibrarian`, `libopac`, `repeatable`,
`mandatory`, `kohafield`, 
3979                              `tab`, `authorised_value`, `authtypecode`,
`value_builder`, `isurl`, `hidden`, `frameworkcode`, `seealso`, `link`,
`defaultvalue`)
3980                              VALUES ( ?, '9', '9 (RLIN)', '9 (RLIN)', 0,
0, '', 6, '', '', '', 0, -5, '', '', '', NULL)");
3981     $sth->execute('648');
3982     $sth->execute('654');
3983     $sth->execute('655');
3984     $sth->execute('656');
3985     $sth->execute('657');
3986     $sth->execute('658');
3987     $sth->execute('662');
3988     $sth->finish;
3989     print "Upgrade to $DBversion done (Bug 5619: Add subfield 9 to marc21
648,654,655,656,657,658,662)\n";
3990     SetVersion ($DBversion);
3991 }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list