Skip to content
Browse files

Merge branch 'bug_7368' into 3.12-master

  • Loading branch information...
2 parents ab59c08 + 86fa020 commit 5d7b5533f1565a55ff269fd82690a71a697901f1 @jcamins jcamins committed Dec 27, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 C4/Biblio.pm
  2. +1 −0 C4/ImportBatch.pm
  3. +1 −1 tools/export.pl
View
2 C4/Biblio.pm
@@ -1288,7 +1288,7 @@ sub GetMarcBiblio {
my $marcxml = GetXmlBiblio($biblionumber);
Returns biblioitems.marcxml of the biblionumber passed in parameter.
-The XML contains both biblio & item datas
+The XML should only contain biblio information (item information is no longer stored in marcxml field)
=cut
View
1 C4/ImportBatch.pm
@@ -621,6 +621,7 @@ sub BatchCommitRecords {
# remove item fields so that they don't get
# added again if record is reverted
+ # FIXME: GetXmlBiblio output should not contain item info any more! So the next foreach should not be needed. Does not hurt either; may remove old 952s that should not have been there anymore.
my $old_marc = MARC::Record->new_from_xml(StripNonXmlChars($oldxml), 'UTF-8', $rowref->{'encoding'}, $marc_type);
foreach my $item_field ($old_marc->field($item_tag)) {
$old_marc->delete_field($item_field);
View
2 tools/export.pl
@@ -22,7 +22,7 @@
use CGI;
use C4::Auth;
use C4::AuthoritiesMarc; # GetAuthority
-use C4::Biblio; # GetMarcBiblio GetXmlBiblio
+use C4::Biblio; # GetMarcBiblio
use C4::Branch; # GetBranches
use C4::Csv;
use C4::Koha; # GetItemTypes

0 comments on commit 5d7b553

Please sign in to comment.
Something went wrong with that request. Please try again.