1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

updated mbt endpoints

This commit is contained in:
Luke Pulverenti 2013-10-18 12:09:47 -04:00
parent b1901ee91e
commit 707f6ab48b
24 changed files with 801 additions and 585 deletions

View file

@ -1096,13 +1096,13 @@
getViewSummaryHtml: function (query, checkedSortOption) {
var html = '';
return html;
if (query.SortBy) {
var id = checkedSortOption[0].id;
var sortBy = checkedSortOption.siblings('label[for=' + id + ']').text();
html += 'Sorted by ' + sortBy.trim().toLowerCase() + ' in ' + (query.SortOrder || 'ascending').toLowerCase() + ' order';
html += 'Sorted by ' + sortBy.trim().toLowerCase() + ', ' + (query.SortOrder || 'ascending').toLowerCase();
if (!checkedSortOption.hasClass('defaultSort')) {
html += '<button class="btnChangeToDefaultSort" type="button" data-icon="delete" data-inline="true" data-mini="true" data-iconpos="notext">Remove</button>';