Browse Source

fix indexing collections in elasticsearch

pull/2806/head
Jason Dove 6 months ago
parent
commit
e43648f1fc
No known key found for this signature in database
  1. 1
      CHANGELOG.md
  2. 2
      ErsatzTV.Infrastructure/Search/ElasticSearchIndex.cs

1
CHANGELOG.md

@ -67,6 +67,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -67,6 +67,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix some sequential and scripted playout build failures when using playlists or marathons
- Fix erasing playout items and history so all related data is also erased
- This includes rerun history, unscheduled gaps, build status
- Fix indexing collections when using Elasticsearch backend
## [26.1.1] - 2026-01-08
### Fixed

2
ErsatzTV.Infrastructure/Search/ElasticSearchIndex.cs

@ -1011,6 +1011,8 @@ public class ElasticSearchIndex : ISearchIndex @@ -1011,6 +1011,8 @@ public class ElasticSearchIndex : ISearchIndex
private static void AddCollections(ElasticSearchItem doc, IEnumerable<Collection> collections)
{
doc.Collection ??= [];
foreach (Collection collection in collections)
{
doc.Collection.Add(collection.Name);

Loading…
Cancel
Save