From 4fd41a4893cc0da1522e63dfa7b3b395b60ff471 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 6 Dec 2016 19:01:04 +0000 Subject: [PATCH] Bug 17196: Fix build_oai_sets.pl The wrong value was retrieved. Signed-off-by: Josef Moravec Signed-off-by: Zeno Tajoli Signed-off-by: Nick Clemens Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- misc/migration_tools/build_oai_sets.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/migration_tools/build_oai_sets.pl b/misc/migration_tools/build_oai_sets.pl index 822e2f9ec4..926b1dbec2 100755 --- a/misc/migration_tools/build_oai_sets.pl +++ b/misc/migration_tools/build_oai_sets.pl @@ -108,7 +108,7 @@ my $i = 1; my $sets_biblios = {}; foreach my $res (@$results) { my $biblionumber = $res->{'biblionumber'}; - my $marcxml = $res->{'marcxml'}; + my $marcxml = $res->{'metadata'}; if($verbose and $i % 1000 == 0) { my $percent = ($i * 100) / $num_biblios; $percent = sprintf("%.2f", $percent); -- 2.39.5