1
0
Fork 0
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:
Luke Pulverenti 2013-05-15 15:26:52 -04:00
parent 78730cb359
commit d12a273620
20 changed files with 50 additions and 22 deletions

View file

@ -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');