incorporate ParentIndexNumber into audio sort order

This commit is contained in:
Luke Pulverenti 2013-04-22 16:17:08 -04:00
parent 3798443c4c
commit d775c77482
2 changed files with 9 additions and 1 deletions

View File

@ -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();
}

View File

@ -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>';