mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix: add limit to usersUserIdItemsGet request
This commit is contained in:
parent
afe8454359
commit
13981aebaa
2 changed files with 3 additions and 0 deletions
|
|
@ -165,6 +165,7 @@ class LibraryScreen extends _$LibraryScreen {
|
||||||
parentId: viewModel.id,
|
parentId: viewModel.id,
|
||||||
sortBy: [ItemSortBy.datelastcontentadded, ItemSortBy.datecreated, ItemSortBy.sortname],
|
sortBy: [ItemSortBy.datelastcontentadded, ItemSortBy.datecreated, ItemSortBy.sortname],
|
||||||
sortOrder: [SortOrder.descending],
|
sortOrder: [SortOrder.descending],
|
||||||
|
limit: 9,
|
||||||
includeItemTypes: viewModel.collectionType.itemKinds.map((e) => e.dtoKind).toList(),
|
includeItemTypes: viewModel.collectionType.itemKinds.map((e) => e.dtoKind).toList(),
|
||||||
);
|
);
|
||||||
newRecommendations = [
|
newRecommendations = [
|
||||||
|
|
|
||||||
|
|
@ -700,6 +700,7 @@ class JellyService {
|
||||||
String? parentId,
|
String? parentId,
|
||||||
List<ItemSortBy>? sortBy,
|
List<ItemSortBy>? sortBy,
|
||||||
List<SortOrder>? sortOrder,
|
List<SortOrder>? sortOrder,
|
||||||
|
int? limit,
|
||||||
bool? recursive,
|
bool? recursive,
|
||||||
List<BaseItemKind>? includeItemTypes,
|
List<BaseItemKind>? includeItemTypes,
|
||||||
}) async {
|
}) async {
|
||||||
|
|
@ -710,6 +711,7 @@ class JellyService {
|
||||||
sortBy: sortBy,
|
sortBy: sortBy,
|
||||||
sortOrder: sortOrder,
|
sortOrder: sortOrder,
|
||||||
includeItemTypes: includeItemTypes,
|
includeItemTypes: includeItemTypes,
|
||||||
|
limit: limit,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue