diff --git a/CHANGELOG.md b/CHANGELOG.md index ab167e9b9..621af255a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,7 +65,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Sync Jellyfin and Emby library name and type changes - Library type (movies, shows) can only be changed when synchronization is *disabled* for the library in ETV - Fix some sequential and scripted playout build failures when using playlists or marathons -- Fix erasing playout items and erasing playout items and history so all related data is also erased +- Fix erasing playout items and history so all related data is also erased - This includes rerun history, unscheduled gaps, build status ## [26.1.1] - 2026-01-08 diff --git a/ErsatzTV.Application/Scheduling/Commands/ErasePlayoutItemsHandler.cs b/ErsatzTV.Application/Scheduling/Commands/ErasePlayoutItemsHandler.cs index b003b8e76..08aa26057 100644 --- a/ErsatzTV.Application/Scheduling/Commands/ErasePlayoutItemsHandler.cs +++ b/ErsatzTV.Application/Scheduling/Commands/ErasePlayoutItemsHandler.cs @@ -47,7 +47,7 @@ public class ErasePlayoutItemsHandler(IDbContextFactory dbContextFact .ExecuteDeleteAsync(cancellationToken); await dbContext.PlayoutGaps - .Where(ph => ph.PlayoutId == playout.Id) + .Where(pg => pg.PlayoutId == playout.Id) .ExecuteDeleteAsync(cancellationToken); await dbContext.PlayoutBuildStatus