resolve wtv transcoding
This commit is contained in:
parent
2a8364b21c
commit
8c65052f02
8 changed files with 66 additions and 27 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue