http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7131
--- Comment #12 from Kyle M Hall <[email protected]> --- Comment on attachment 14475 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14475 Patch adds the ability to overlay items when Staging Review of attachment 14475: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=7131&attachment=14475) ----------------------------------------------------------------- ::: C4/ImportBatch.pm @@ +696,5 @@ > $sth->execute(); > while (my $row = $sth->fetchrow_hashref()) { > my $item_marc = > MARC::Record->new_from_xml(StripNonXmlChars($row->{'marcxml'}), 'UTF-8', > $row->{'encoding'}); > + #delete date_due subfield as to not accidentally delete item checkout > due dates > + $item_marc->field('952')->delete_subfield(code => 'q'); This is a problem. Not all frameworks will have items.onloan mapped to 952$q. We need to look up the problem tag/subtag here using C4::Biblio::GetMarcFromKohaField or get the value via C4::Biblio::GetRecordValue. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
