mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Filter history by multiple event types in PG
This commit is contained in:
@@ -29,8 +29,7 @@ namespace Prowlarr.Api.V1.History
|
||||
|
||||
if (eventTypes != null && eventTypes.Any())
|
||||
{
|
||||
var filterValues = eventTypes.Cast<HistoryEventType>().ToArray();
|
||||
pagingSpec.FilterExpressions.Add(v => filterValues.Contains(v.EventType));
|
||||
pagingSpec.FilterExpressions.Add(v => eventTypes.Contains((int)v.EventType));
|
||||
}
|
||||
|
||||
if (successful.HasValue)
|
||||
|
Reference in New Issue
Block a user