mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed missing files
This commit is contained in:
parent
358df5f81c
commit
9311eca340
8 changed files with 13 additions and 12 deletions
|
@ -504,7 +504,7 @@
|
|||
}
|
||||
},
|
||||
|
||||
getPagingHtml: function (query, totalRecordCount) {
|
||||
getPagingHtml: function (query, totalRecordCount, isTop) {
|
||||
|
||||
var html = '';
|
||||
|
||||
|
@ -524,7 +524,7 @@
|
|||
|
||||
var recordsEnd = Math.min(query.StartIndex + query.Limit, totalRecordCount);
|
||||
|
||||
html += '<div class="listPaging">';
|
||||
html += isTop ? '<div class="listPaging topListPaging">' : '<div class="listPaging">';
|
||||
html += 'Results ' + (query.StartIndex + 1) + '-' + recordsEnd + ' of ' + totalRecordCount + ', page ' + dropdownHtml + ' of ' + pageCount;
|
||||
html += '</div>';
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
var showPaging = result.TotalRecordCount > query.Limit;
|
||||
|
||||
if (showPaging) {
|
||||
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
|
||||
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true);
|
||||
}
|
||||
|
||||
if (view == "Tile") {
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
var showPaging = result.TotalRecordCount > query.Limit;
|
||||
|
||||
if (showPaging) {
|
||||
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
|
||||
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true);
|
||||
}
|
||||
|
||||
if (view == "Tile") {
|
||||
|
@ -71,11 +71,13 @@
|
|||
|
||||
$('.radioSortBy', this).on('click', function () {
|
||||
query.SortBy = this.getAttribute('data-sortby');
|
||||
query.StartIndex = 0;
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
$('.radioSortOrder', this).on('click', function () {
|
||||
query.SortOrder = this.getAttribute('data-sortorder');
|
||||
query.StartIndex = 0;
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
|
@ -91,7 +93,7 @@
|
|||
}
|
||||
|
||||
query.Filters = filters;
|
||||
|
||||
query.StartIndex = 0;
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
|
@ -107,7 +109,7 @@
|
|||
}
|
||||
|
||||
query.SeriesStatus = filters;
|
||||
|
||||
query.StartIndex = 0;
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
|
@ -123,7 +125,7 @@
|
|||
}
|
||||
|
||||
query.AirDays = filters;
|
||||
|
||||
query.StartIndex = 0;
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue