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
|
@ -11,7 +11,6 @@
|
|||
MediaTypes: "Game",
|
||||
Recursive: true,
|
||||
Fields: "UserData,DisplayMediaType,Genres,Studios",
|
||||
Limit: LibraryBrowser.getDefaultPageSize(),
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
@ -85,6 +84,8 @@
|
|||
|
||||
var page = this;
|
||||
|
||||
query.Limit = LibraryBrowser.getDefaultPageSize();
|
||||
|
||||
$('.radioSortBy', this).on('click', function () {
|
||||
query.StartIndex = 0;
|
||||
query.SortBy = this.getAttribute('data-sortby');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue