mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-05 13:21:25 -05:00
Fixed: Filter history by multiple event types in PG
This commit is contained in:
@@ -68,8 +68,7 @@ namespace Radarr.Api.V3.History
|
||||
|
||||
if (eventTypes != null && eventTypes.Any())
|
||||
{
|
||||
var filterValues = eventTypes.Cast<MovieHistoryEventType>().ToArray();
|
||||
pagingSpec.FilterExpressions.Add(v => filterValues.Contains(v.EventType));
|
||||
pagingSpec.FilterExpressions.Add(v => eventTypes.Contains((int)v.EventType));
|
||||
}
|
||||
|
||||
if (downloadId.IsNotNullOrWhiteSpace())
|
||||
|
||||
Reference in New Issue
Block a user