mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +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")
|
@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 {
|
||||||
|
|
|
||||||
|
|
@ -414,7 +414,7 @@ class HomeSettingsViewModel
|
||||||
config =
|
config =
|
||||||
HomeRowConfig.ByParent(
|
HomeRowConfig.ByParent(
|
||||||
parentId = parent.id,
|
parentId = parent.id,
|
||||||
recursive = true,
|
recursive = false,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
updateState {
|
updateState {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue