mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
display sort order directly on list page
This commit is contained in:
parent
739fe94044
commit
7a25c78e46
1 changed files with 2 additions and 2 deletions
|
@ -1096,7 +1096,7 @@
|
||||||
getViewSummaryHtml: function (query, checkedSortOption) {
|
getViewSummaryHtml: function (query, checkedSortOption) {
|
||||||
|
|
||||||
var html = '';
|
var html = '';
|
||||||
return html;
|
|
||||||
if (query.SortBy) {
|
if (query.SortBy) {
|
||||||
|
|
||||||
var id = checkedSortOption[0].id;
|
var id = checkedSortOption[0].id;
|
||||||
|
@ -1105,7 +1105,7 @@
|
||||||
html += 'Sorted by ' + sortBy.trim().toLowerCase() + ', ' + (query.SortOrder || 'ascending').toLowerCase();
|
html += 'Sorted by ' + sortBy.trim().toLowerCase() + ', ' + (query.SortOrder || 'ascending').toLowerCase();
|
||||||
|
|
||||||
if (!checkedSortOption.hasClass('defaultSort')) {
|
if (!checkedSortOption.hasClass('defaultSort')) {
|
||||||
html += '<button class="btnChangeToDefaultSort" type="button" data-icon="delete" data-inline="true" data-mini="true" data-iconpos="notext">Remove</button>';
|
//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