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

(-)a/C4/ImportBatch.pm (-1 / +1 lines)
Lines 1465-1471 sub GetImportRecordMatches { Link Here
1465
                                    JOIN import_record_matches USING (import_record_id)
1465
                                    JOIN import_record_matches USING (import_record_id)
1466
                                    LEFT JOIN biblio ON (biblionumber = candidate_match_id)
1466
                                    LEFT JOIN biblio ON (biblionumber = candidate_match_id)
1467
                                    WHERE import_record_id = ?
1467
                                    WHERE import_record_id = ?
1468
                                    ORDER BY score DESC, chosen DESC, biblionumber DESC");
1468
                                    ORDER BY score DESC, biblionumber DESC");
1469
    $sth->bind_param(1, $import_record_id);
1469
    $sth->bind_param(1, $import_record_id);
1470
    my $results = [];
1470
    my $results = [];
1471
    $sth->execute();
1471
    $sth->execute();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-2 / +1 lines)
Lines 575-582 Link Here
575
                                );
575
                                );
576
                                $('td:eq(5) ul', nRow).append('<li><a href="'
576
                                $('td:eq(5) ul', nRow).append('<li><a href="'
577
                                        + diff_url.format( [% import_batch_id | html %], aData['import_record_id'], item.candidate_match_id, item.record_type) + '">' + _("View") + '</a></li>');
577
                                        + diff_url.format( [% import_batch_id | html %], aData['import_record_id'], item.candidate_match_id, item.record_type) + '">' + _("View") + '</a></li>');
578
                                checked = "";
578
                            });
579
                            });
579
                            checked = "";
580
                            if( !any_checked ){ checked = 'checked="checked"'; }
580
                            if( !any_checked ){ checked = 'checked="checked"'; }
581
                            $('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>');
581
                            $('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>');
582
                            $('td:eq(5) ul', nRow).prepend('<li>&nbsp;</li>');
582
                            $('td:eq(5) ul', nRow).prepend('<li>&nbsp;</li>');
583
- 

Return to bug 22785