Link rating key in export table to info page
This commit is contained in:
@@ -58,7 +58,7 @@ export_table_options = {
|
|||||||
"data": "rating_key",
|
"data": "rating_key",
|
||||||
"createdCell": function (td, cellData, rowData, row, col) {
|
"createdCell": function (td, cellData, rowData, row, col) {
|
||||||
if (cellData !== '') {
|
if (cellData !== '') {
|
||||||
$(td).html(cellData);
|
$(td).html('<a href="' + page('info', rowData['rating_key']) + '">' + cellData + '</a>');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"width": "8%",
|
"width": "8%",
|
||||||
|
Reference in New Issue
Block a user