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:
parent
b1901ee91e
commit
707f6ab48b
24 changed files with 801 additions and 585 deletions
|
@ -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>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue