From 364df7f4e29ac806d240bdc78dd3f2bc28026e69 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 19 Jun 2017 13:08:44 +1000 Subject: [PATCH] Bug 10662 - Remove workaround for pre-17710 behaviour --- Koha/OAI/Harvester/Import/MARCXML.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Koha/OAI/Harvester/Import/MARCXML.pm b/Koha/OAI/Harvester/Import/MARCXML.pm index 608ae46478..6accb78db2 100755 --- a/Koha/OAI/Harvester/Import/MARCXML.pm +++ b/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}; -- 2.12.0