mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add datatables processing to collections and playlists tables
This commit is contained in:
parent
1061c334ae
commit
f151bb1451
4 changed files with 107 additions and 56 deletions
|
@ -21,10 +21,10 @@ collections_table_options = {
|
|||
"columnDefs": [
|
||||
{
|
||||
"targets": [0],
|
||||
"data": "title",
|
||||
"data": "titleSort",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
$(td).html('<a href="' + page('info', rowData['ratingKey']) + '"><i class="fa fa-blank fa-fw"></i>' + cellData + '</a>');
|
||||
$(td).html('<a href="' + page('info', rowData['ratingKey']) + '"><i class="fa fa-blank fa-fw"></i>' + rowData['title'] + '</a>');
|
||||
}
|
||||
},
|
||||
"width": "50%",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue