sync updates
This commit is contained in:
parent
ecc85d1841
commit
9aaa5a1f2d
1 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,7 @@
|
||||||
// The base query options
|
// The base query options
|
||||||
var query = {
|
var query = {
|
||||||
|
|
||||||
Recursive: true,
|
Fields: "PrimaryImageAspectRatio,SyncInfo",
|
||||||
Fields: "PrimaryImageAspectRatio",
|
|
||||||
StartIndex: 0,
|
StartIndex: 0,
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
EnableImageTypes: "Primary,Backdrop,Banner,Thumb"
|
EnableImageTypes: "Primary,Backdrop,Banner,Thumb"
|
||||||
|
@ -21,13 +20,14 @@
|
||||||
function getItemsFunction(itemsQuery) {
|
function getItemsFunction(itemsQuery) {
|
||||||
|
|
||||||
itemsQuery = $.extend({}, itemsQuery);
|
itemsQuery = $.extend({}, itemsQuery);
|
||||||
|
itemsQuery.SortBy = null;
|
||||||
|
itemsQuery.SortOrder = null;
|
||||||
|
|
||||||
return function (index, limit, fields) {
|
return function (index, limit, fields) {
|
||||||
|
|
||||||
itemsQuery.StartIndex = index;
|
itemsQuery.StartIndex = index;
|
||||||
itemsQuery.Limit = limit;
|
itemsQuery.Limit = limit;
|
||||||
itemsQuery.Fields = fields;
|
itemsQuery.Fields = fields;
|
||||||
|
|
||||||
return ApiClient.getItems(Dashboard.getCurrentUserId(), itemsQuery);
|
return ApiClient.getItems(Dashboard.getCurrentUserId(), itemsQuery);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue