[Koha-bugs] [Bug 17710] C4::Matcher::get_matches and C4::ImportBatch:: GetBestRecordMatch should use same logic
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 12 01:25:28 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17710
--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
Created attachment 58859
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58859&action=edit
Bug 17710 - C4::Matcher::get_matches and C4::ImportBatch::GetBestRecordMatch
should use same logic
C4::ImportBatch::GetBestRecordMatch uses SQL to sort by score descending
then candidate_match_id descending. With C4::Matcher::get_matches, I
implement the same sort but use Perl code to do it, since we're sorting
search results.
It's a simple change, but it's in a big block of code, so I don't have
unit tests.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list