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

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