Lines 1035-1040
sub GetBestRecordMatch {
Link Here
|
1035 |
my $dbh = C4::Context->dbh; |
1035 |
my $dbh = C4::Context->dbh; |
1036 |
my $sth = $dbh->prepare("SELECT candidate_match_id |
1036 |
my $sth = $dbh->prepare("SELECT candidate_match_id |
1037 |
FROM import_record_matches |
1037 |
FROM import_record_matches |
|
|
1038 |
JOIN biblio ON ( candidate_match_id = biblionumber ) |
1038 |
WHERE import_record_id = ? |
1039 |
WHERE import_record_id = ? |
1039 |
ORDER BY score DESC, candidate_match_id DESC"); |
1040 |
ORDER BY score DESC, candidate_match_id DESC"); |
1040 |
$sth->execute($import_record_id); |
1041 |
$sth->execute($import_record_id); |
1041 |
- |
|
|