mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
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:
parent
66f060dccb
commit
1334bb3f03
2 changed files with 2 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ sealed interface HomeRowConfig {
|
|||
@SerialName("ByParent")
|
||||
data class ByParent(
|
||||
val parentId: UUID,
|
||||
val recursive: Boolean,
|
||||
val recursive: Boolean = false,
|
||||
val sort: SortAndDirection? = null,
|
||||
override val viewOptions: HomeRowViewOptions = HomeRowViewOptions(),
|
||||
) : HomeRowConfig {
|
||||
|
|
|
|||
|
|
@ -414,7 +414,7 @@ class HomeSettingsViewModel
|
|||
config =
|
||||
HomeRowConfig.ByParent(
|
||||
parentId = parent.id,
|
||||
recursive = true,
|
||||
recursive = false,
|
||||
),
|
||||
)
|
||||
updateState {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue