@@ -, +, @@ --- Koha/OAI/Harvester/Import/MARCXML.pm | 5 ----- 1 file changed, 5 deletions(-) --- a/Koha/OAI/Harvester/Import/MARCXML.pm +++ a/Koha/OAI/Harvester/Import/MARCXML.pm @@ -92,11 +92,6 @@ sub _try_matcher { my $matched_id; my @matches = $matcher->get_matches($marc_record, MAX_MATCHES); if (@matches){ - #FIXME: You can remove this sort once Bug 17710 is pushed - @matches = sort { - $b->{'score'} cmp $a->{'score'} or - $b->{'record_id'} cmp $a->{'record_id'} - } @matches; my $bestrecordmatch = shift @matches; if ($bestrecordmatch && $bestrecordmatch->{record_id}){ $matched_id = $bestrecordmatch->{record_id}; --