Link rating key in export table to info page

This commit is contained in:
JonnyWong16
2020-08-03 18:29:34 -07:00
parent 7627f025ed
commit 010fefcbbc

View File

@@ -58,7 +58,7 @@ export_table_options = {
"data": "rating_key",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
$(td).html(cellData);
$(td).html('<a href="' + page('info', rowData['rating_key']) + '">' + cellData + '</a>');
}
},
"width": "8%",