mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
incorporate ParentIndexNumber into audio sort order
This commit is contained in:
parent
3798443c4c
commit
d775c77482
@ -33,10 +33,15 @@
|
||||
|
||||
$('#seriesName', page).html('<a class="detailPageParentLink" href="itemdetails.html?id=' + item.SeriesId + '">' + item.SeriesName + '</a>').show().trigger('create');
|
||||
}
|
||||
else if (item.Album && item.Type == "Audio") {
|
||||
$('#seriesName', page).html('<a class="detailPageParentLink" href="itemdetails.html?id=' + item.ParentId + '">' + item.Album + '</a>').show().trigger('create');
|
||||
|
||||
}
|
||||
else if (item.Album) {
|
||||
$('#seriesName', page).html(item.Album).show();
|
||||
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$('#seriesName', page).hide();
|
||||
}
|
||||
|
||||
|
@ -173,6 +173,7 @@
|
||||
html += '<th></th>';
|
||||
html += '<th>Track</th>';
|
||||
html += '<th>Duration</th>';
|
||||
html += '<th>Play Count</th>';
|
||||
html += '<th></th>';
|
||||
|
||||
html += '</tr>';
|
||||
@ -196,6 +197,8 @@
|
||||
|
||||
html += '<td>' + time + '</td>';
|
||||
|
||||
html += '<td>' + (item.UserData ? item.UserData.PlayCount : 0) + '</td>';
|
||||
|
||||
html += '<td>' + LibraryBrowser.getUserDataIconsHtml(item) + '</td>';
|
||||
|
||||
html += '</tr>';
|
||||
|
Loading…
Reference in New Issue
Block a user