[Koha-bugs] [Bug 10455] remove redundant 'biblioitems.marc' field
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 2 12:08:40 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10455
--- Comment #55 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #54)
> This change has interesting side-effects !
>
> - $sth = $dbh->prepare("UPDATE biblioitems SET marc=?,marcxml=? WHERE
> biblionumber=?");
> - $sth->execute( $record->as_usmarc(), $record->as_xml_record($encoding),
> $biblionumber );
> + $sth = $dbh->prepare("UPDATE biblioitems SET marcxml=? WHERE
> biblionumber=?");
> + $sth->execute( $record->as_xml_record($encoding), $biblionumber );
>
> It seems that since we do no longer call the sub as_usmarc, the automatic
> field lengths in the marc are not calculated anymore.
> This needs our attention. Will open a new report now!
Trivial fix submitted. Please have a look and sign off.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list