Lines 58-63
$(document).ready(function(){
Link Here
|
58 |
}); |
58 |
}); |
59 |
}, |
59 |
}, |
60 |
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) { |
60 |
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) { |
|
|
61 |
[% IF ( record_type == 'auth' ) %] |
62 |
var record_details_url = "/cgi-bin/koha/authorities/detail.pl?authid="; |
63 |
[% ELSE %] |
64 |
var record_details_url = "/cgi-bin/koha/catalogue/detail.pl?biblionumber="; |
65 |
[% END %] |
66 |
|
61 |
$('td:eq(1)', nRow).html( |
67 |
$('td:eq(1)', nRow).html( |
62 |
'<a href="javascript:void(0)" onclick="show_marc(' |
68 |
'<a href="javascript:void(0)" onclick="show_marc(' |
63 |
+ aData['import_record_id'] |
69 |
+ aData['import_record_id'] |
Lines 86-99
$(document).ready(function(){
Link Here
|
86 |
+ aData['match_id'] |
92 |
+ aData['match_id'] |
87 |
+ " (" + _("score") + "=" |
93 |
+ " (" + _("score") + "=" |
88 |
+ aData['score'] |
94 |
+ aData['score'] |
89 |
+ '):' + '<a target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=' |
95 |
+ '):' + '<a target="_blank" href="' + record_details_url |
90 |
+ aData['match_id'] + '">' + aData['match_citation'] + '</a>' |
96 |
+ aData['match_id'] + '">' + aData['match_citation'] + '</a>' |
91 |
); |
97 |
); |
92 |
} |
98 |
} |
93 |
|
99 |
|
94 |
$('td:eq(5)', nRow).html( |
100 |
$('td:eq(5)', nRow).html( |
95 |
'<a target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=' |
101 |
'<a target="_blank" href="' + record_details_url |
96 |
+ aData['matched'] + '">' + aData['matched'] + '</a>' |
102 |
+ aData['matched'] + '">' + aData['matched'] + '</a>' |
97 |
); |
103 |
); |
98 |
}, |
104 |
}, |
99 |
}); |
105 |
}); |