mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remember page size
This commit is contained in:
parent
78730cb359
commit
d12a273620
20 changed files with 50 additions and 22 deletions
|
@ -8,7 +8,6 @@
|
|||
IncludeItemTypes: "BoxSet",
|
||||
Recursive: true,
|
||||
Fields: "DisplayMediaType,ItemCounts,DateCreated,UserData",
|
||||
Limit: LibraryBrowser.getDefaultPageSize(),
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
@ -61,6 +60,8 @@
|
|||
|
||||
var page = this;
|
||||
|
||||
query.Limit = LibraryBrowser.getDefaultPageSize();
|
||||
|
||||
$('.radioSortBy', this).on('click', function () {
|
||||
query.SortBy = this.getAttribute('data-sortby');
|
||||
reloadItems(page);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue