resolve wtv transcoding

This commit is contained in:
Luke Pulverenti 2014-09-09 20:28:59 -04:00
parent 2a8364b21c
commit 8c65052f02
8 changed files with 66 additions and 27 deletions

View file

@ -1,5 +1,7 @@
(function ($, document) {
var pageSizeKey = 'people';
// The base query options
var query = {
@ -34,8 +36,7 @@
limit: query.Limit,
totalRecordCount: result.TotalRecordCount,
viewButton: true,
showLimit: false,
updatePageSizeSetting: false
showLimit: false
});
$('.listTopPaging', page).html(pagingHtml).trigger('create');
@ -151,6 +152,14 @@
query.ParentId = LibraryMenu.getTopParentId();
var limit = LibraryBrowser.getDefaultPageSize(pageSizeKey, 100);
// If the default page size has changed, the start index will have to be reset
if (limit != query.Limit) {
query.Limit = limit;
query.StartIndex = 0;
}
LibraryBrowser.loadSavedQueryValues(getSavedQueryKey(), query);
reloadItems(this);