Merge branch 'bug_9523' into 3.14-master

This commit is contained in:
Jared Camins-Esakov 2013-04-21 21:06:56 -04:00
commit 79a67fcff2
1 changed files with 1 additions and 0 deletions

View File

@ -1036,6 +1036,7 @@ sub GetBestRecordMatch {
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare("SELECT candidate_match_id
FROM import_record_matches
JOIN biblio ON ( candidate_match_id = biblionumber )
WHERE import_record_id = ?
ORDER BY score DESC, candidate_match_id DESC");
$sth->execute($import_record_id);