Make collection titles searchable in table

This commit is contained in:
JonnyWong16 2020-10-01 19:43:10 -07:00
parent 72215a9f44
commit 0ba755e463
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 9 additions and 4 deletions

View file

@ -40,7 +40,7 @@ playlists_table_options = {
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
var type = MEDIA_TYPE_HEADERS[rowData['playlistType']] || '';
if (rowData['leafCount'] == 1) {
if (rowData['leafCount'] === 1) {
type = type.slice(0, -1);
}
$(td).html(cellData + ' ' + type);