mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 13:38:13 -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,
|
||||
sortBy: [ItemSortBy.datelastcontentadded, ItemSortBy.datecreated, ItemSortBy.sortname],
|
||||
sortOrder: [SortOrder.descending],
|
||||
limit: 9,
|
||||
includeItemTypes: viewModel.collectionType.itemKinds.map((e) => e.dtoKind).toList(),
|
||||
);
|
||||
newRecommendations = [
|
||||
|
|
|
|||
|
|
@ -700,6 +700,7 @@ class JellyService {
|
|||
String? parentId,
|
||||
List<ItemSortBy>? sortBy,
|
||||
List<SortOrder>? sortOrder,
|
||||
int? limit,
|
||||
bool? recursive,
|
||||
List<BaseItemKind>? includeItemTypes,
|
||||
}) async {
|
||||
|
|
@ -710,6 +711,7 @@ class JellyService {
|
|||
sortBy: sortBy,
|
||||
sortOrder: sortOrder,
|
||||
includeItemTypes: includeItemTypes,
|
||||
limit: limit,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue