Skip to content

Commit e1b752e

Browse files
committed
Request more than TargetItemCount
1 parent e369fe4 commit e1b752e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StabilityMatrix.Avalonia/ViewModels/CheckpointBrowser/CivitAiBrowserViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ private async Task SearchModels(bool isInfiniteScroll = false)
674674
// Build request
675675
var modelRequest = new CivitModelsRequest
676676
{
677-
Limit = TargetPageItemCount,
677+
Limit = TargetPageItemCount + 20, // Fetch a few extra to account for local filtering
678678
Nsfw = "true", // Handled by local view filter
679679
Sort = SortMode,
680680
Period = SelectedPeriod,

0 commit comments

Comments
 (0)