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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-2 / +15 lines)
Lines 393-399 Link Here
393
                        </table>
393
                        </table>
394
394
395
                        <div id="marcPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
395
                        <div id="marcPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
396
                            <div class="modal-dialog">
396
                            <div class="modal-dialog modal-wide">
397
                                <div class="modal-content">
397
                                <div class="modal-content">
398
                                    <div class="modal-header">
398
                                    <div class="modal-header">
399
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
399
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
Lines 474-481 Link Here
474
                            var record_details_url = "/cgi-bin/koha/catalogue/detail.pl?biblionumber=";
474
                            var record_details_url = "/cgi-bin/koha/catalogue/detail.pl?biblionumber=";
475
                        [% END %]
475
                        [% END %]
476
476
477
                        var additional_details = "";
478
                        if( aData['author'] ){
479
                            additional_details += " " + aData['author'] + " ";
480
                        }
481
482
                        if( aData['isbn'] ){
483
                            additional_details += " (" + aData['isbn'] + ") ";
484
                        }
485
486
                        if( aData['issn'] ){
487
                            additional_details += " (" + aData['issn'] + ") ";
488
                        }
489
477
                        $('td:eq(1)', nRow).html(
490
                        $('td:eq(1)', nRow).html(
478
                            '<a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=' + aData['import_record_id'] + '&viewas=html" class="previewMARC">' + aData['citation'] + '</a>'
491
                            '<a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=' + aData['import_record_id'] + '&viewas=html" class="previewMARC">' + aData['citation'] + '</a> ' + additional_details
479
                        );
492
                        );
480
493
481
                        $('td:eq(2)', nRow).html(
494
                        $('td:eq(2)', nRow).html(
(-)a/tools/batch_records_ajax.pl (-7 / +3 lines)
Lines 68-79 my $records = Link Here
68
my @list = ();
68
my @list = ();
69
foreach my $record (@$records) {
69
foreach my $record (@$records) {
70
    my $citation = $record->{'title'} || $record->{'authorized_heading'};
70
    my $citation = $record->{'title'} || $record->{'authorized_heading'};
71
    $citation .= " $record->{'author'}" if $record->{'author'};
72
    $citation .= " (" if $record->{'issn'} or $record->{'isbn'};
73
    $citation .= $record->{'isbn'} if $record->{'isbn'};
74
    $citation .= ", " if $record->{'issn'} and $record->{'isbn'};
75
    $citation .= $record->{'issn'} if $record->{'issn'};
76
    $citation .= ")" if $record->{'issn'} or $record->{'isbn'};
77
71
78
    my $match = GetImportRecordMatches( $record->{'import_record_id'}, 1 );
72
    my $match = GetImportRecordMatches( $record->{'import_record_id'}, 1 );
79
    my $match_citation = '';
73
    my $match_citation = '';
Lines 99-104 foreach my $record (@$records) { Link Here
99
        DT_RowId        => $record->{'import_record_id'},
93
        DT_RowId        => $record->{'import_record_id'},
100
        import_record_id => $record->{'import_record_id'},
94
        import_record_id => $record->{'import_record_id'},
101
        citation        => $citation,
95
        citation        => $citation,
96
        author          => $record->{'author'},
97
        issn            => $record->{'issn'},
98
        isbn            => $record->{'isbn'},
102
        status          => $record->{'status'},
99
        status          => $record->{'status'},
103
        overlay_status  => $record->{'overlay_status'},
100
        overlay_status  => $record->{'overlay_status'},
104
        match_citation  => $match_citation,
101
        match_citation  => $match_citation,
105
- 

Return to bug 23856