mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
sync updates
This commit is contained in:
parent
ecc85d1841
commit
9aaa5a1f2d
@ -6,8 +6,7 @@
|
||||
// The base query options
|
||||
var query = {
|
||||
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
Fields: "PrimaryImageAspectRatio,SyncInfo",
|
||||
StartIndex: 0,
|
||||
ImageTypeLimit: 1,
|
||||
EnableImageTypes: "Primary,Backdrop,Banner,Thumb"
|
||||
@ -21,13 +20,14 @@
|
||||
function getItemsFunction(itemsQuery) {
|
||||
|
||||
itemsQuery = $.extend({}, itemsQuery);
|
||||
itemsQuery.SortBy = null;
|
||||
itemsQuery.SortOrder = null;
|
||||
|
||||
return function (index, limit, fields) {
|
||||
|
||||
itemsQuery.StartIndex = index;
|
||||
itemsQuery.Limit = limit;
|
||||
itemsQuery.Fields = fields;
|
||||
|
||||
return ApiClient.getItems(Dashboard.getCurrentUserId(), itemsQuery);
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user