mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -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');
|
$('#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) {
|
else if (item.Album) {
|
||||||
$('#seriesName', page).html(item.Album).show();
|
$('#seriesName', page).html(item.Album).show();
|
||||||
|
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
$('#seriesName', page).hide();
|
$('#seriesName', page).hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -173,6 +173,7 @@
|
|||||||
html += '<th></th>';
|
html += '<th></th>';
|
||||||
html += '<th>Track</th>';
|
html += '<th>Track</th>';
|
||||||
html += '<th>Duration</th>';
|
html += '<th>Duration</th>';
|
||||||
|
html += '<th>Play Count</th>';
|
||||||
html += '<th></th>';
|
html += '<th></th>';
|
||||||
|
|
||||||
html += '</tr>';
|
html += '</tr>';
|
||||||
@ -196,6 +197,8 @@
|
|||||||
|
|
||||||
html += '<td>' + time + '</td>';
|
html += '<td>' + time + '</td>';
|
||||||
|
|
||||||
|
html += '<td>' + (item.UserData ? item.UserData.PlayCount : 0) + '</td>';
|
||||||
|
|
||||||
html += '<td>' + LibraryBrowser.getUserDataIconsHtml(item) + '</td>';
|
html += '<td>' + LibraryBrowser.getUserDataIconsHtml(item) + '</td>';
|
||||||
|
|
||||||
html += '</tr>';
|
html += '</tr>';
|
||||||
|
Loading…
Reference in New Issue
Block a user