fix: apply tag values to denormalized parent/grandparent search index fields

This commit is contained in:
Christian Benincasa
2026-01-14 14:32:33 -05:00
parent d6857eada7
commit 50408bb522
3 changed files with 93 additions and 10 deletions

View File

@@ -57,7 +57,8 @@ const StringFields = [
'type',
'show_title',
'show_genre',
'show_tag',
'show_tags',
'show_studio',
'audio_language',
'subtitle_language',
] as const;
@@ -327,6 +328,7 @@ export const virtualFieldToIndexField: Record<string, string> = {
show_genre: 'grandparent.genres',
show_title: 'grandparent.title',
show_tags: 'grandparent.tags',
show_studio: 'grandparent.studio',
grandparent_genre: 'grandparent.genres',
video_bit_depth: 'videoBitDepth',
video_codec: 'videoCodec',