[Koha-bugs] [Bug 32054] GetImportRecordMatches returns the wrong match when passed 'best only'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 16 11:12:05 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32054

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #6 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
This patch leaves us with one actual remaining call of GetImportRecordMatches:

C4/ImportBatch.pm:      GetImportRecordMatches
C4/ImportBatch.pm:=head2 GetImportRecordMatches
C4/ImportBatch.pm:  my $results = GetImportRecordMatches($import_record_id,
$best_only);
C4/ImportBatch.pm:sub GetImportRecordMatches {
tools/batch_records_ajax.pl:use C4::ImportBatch qw( GetImportBatch
GetImportRecordsRange GetImportRecordMatches );
tools/batch_records_ajax.pl:    my $matches = GetImportRecordMatches(
$record->{'import_record_id'} );

The last one is the only real one.

koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt:           
        "sAjaxSource": 'batch_records_ajax.pl',

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list