View | Details | Raw Unified | Return to bug 22785
Collapse All | Expand All

(-)a/C4/ImportBatch.pm (-1 / +1 lines)
Lines 1485-1491 sub GetImportRecordMatches { Link Here
1485
                                    JOIN import_record_matches USING (import_record_id)
1485
                                    JOIN import_record_matches USING (import_record_id)
1486
                                    LEFT JOIN biblio ON (biblionumber = candidate_match_id)
1486
                                    LEFT JOIN biblio ON (biblionumber = candidate_match_id)
1487
                                    WHERE import_record_id = ?
1487
                                    WHERE import_record_id = ?
1488
                                    ORDER BY score DESC, chosen DESC, biblionumber DESC");
1488
                                    ORDER BY score DESC, biblionumber DESC");
1489
    $sth->bind_param(1, $import_record_id);
1489
    $sth->bind_param(1, $import_record_id);
1490
    my $results = [];
1490
    my $results = [];
1491
    $sth->execute();
1491
    $sth->execute();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-2 / +1 lines)
Lines 582-589 Link Here
582
                                );
582
                                );
583
                                $('td:eq(5) ul', nRow).append('<li><a href="'
583
                                $('td:eq(5) ul', nRow).append('<li><a href="'
584
                                        + diff_url.format( [% import_batch_id | html %], aData['import_record_id'], item.candidate_match_id, item.record_type) + '">' + _("View") + '</a></li>');
584
                                        + diff_url.format( [% import_batch_id | html %], aData['import_record_id'], item.candidate_match_id, item.record_type) + '">' + _("View") + '</a></li>');
585
                                checked = "";
585
                            });
586
                            });
586
                            checked = "";
587
                            if( !any_checked ){ checked = 'checked="checked"'; }
587
                            if( !any_checked ){ checked = 'checked="checked"'; }
588
                            $('td:eq(4) ul', nRow).prepend('<li><label><input type="radio" data-import_record_id="'+aData['import_record_id']+'" class="chosen" name="import_record_id_'+aData['import_record_id']+'_match" value="none" ' + checked + disabled + ' > Ignore matches</label></li>');
588
                            $('td:eq(4) ul', nRow).prepend('<li><label><input type="radio" data-import_record_id="'+aData['import_record_id']+'" class="chosen" name="import_record_id_'+aData['import_record_id']+'_match" value="none" ' + checked + disabled + ' > Ignore matches</label></li>');
589
                            $('td:eq(5) ul', nRow).prepend('<li>&nbsp;</li>');
589
                            $('td:eq(5) ul', nRow).prepend('<li>&nbsp;</li>');
590
- 

Return to bug 22785