From e92c1e79a9b83c283ce87734b71078f0c3bce58e Mon Sep 17 00:00:00 2001 From: HighImKevin Date: Tue, 20 Oct 2026 13:03:52 -0400 Subject: [PATCH] Fix Collection and Playlist sections created from the wizard not saving their _parentItemType correctly --- configuration/homeScreenSectionEditor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configuration/homeScreenSectionEditor.js b/configuration/homeScreenSectionEditor.js index 07a63bd..3678fd8 100644 --- a/configuration/homeScreenSectionEditor.js +++ b/configuration/homeScreenSectionEditor.js @@ -1730,6 +1730,7 @@ queryOptions.IsUnplayed = true; } + const query = { queryOptions }; if (parentType && parents.length > 0) { const meta = PARENT_TYPES.find(t => t.type === parentType); const field = meta?.queryField; @@ -1748,6 +1749,7 @@ break; case 'ParentId': queryOptions.ParentId = parents[0].id; + query._parentItemType = parentType; break; default: break; @@ -1762,7 +1764,7 @@ isCustom: true, renderMode: renderMode || 'Normal', cardFormat: renderMode === 'Spotlight' ? undefined : (cardFormat || 'Poster'), - queries: [{ queryOptions }] + queries: [query] }; applySectionVisibilityToSection(section, wizardState, baseSection);