Don't recursively query collections on home page (#1160)

## Description
Don't recursively query collections for the home page rows. This
prevents episodes within tv shows from being shown.

### Related issues
Fixes https://github.com/damontecres/Wholphin/issues/1148
Fixes #1147

### Testing
Emulator & API

## Screenshots
N/A

## AI or LLM usage
None
This commit is contained in:
Ray 2026-03-30 14:11:25 -04:00 committed by GitHub
parent 66f060dccb
commit 1334bb3f03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@ sealed interface HomeRowConfig {
@SerialName("ByParent") @SerialName("ByParent")
data class ByParent( data class ByParent(
val parentId: UUID, val parentId: UUID,
val recursive: Boolean, val recursive: Boolean = false,
val sort: SortAndDirection? = null, val sort: SortAndDirection? = null,
override val viewOptions: HomeRowViewOptions = HomeRowViewOptions(), override val viewOptions: HomeRowViewOptions = HomeRowViewOptions(),
) : HomeRowConfig { ) : HomeRowConfig {

View file

@ -414,7 +414,7 @@ class HomeSettingsViewModel
config = config =
HomeRowConfig.ByParent( HomeRowConfig.ByParent(
parentId = parent.id, parentId = parent.id,
recursive = true, recursive = false,
), ),
) )
updateState { updateState {