Fixed: Filter history by multiple event types in PG

pull/3188/head
Bogdan 10 months ago
parent 31da559f89
commit e968fcaff6

@ -69,8 +69,7 @@ namespace Readarr.Api.V1.History
if (eventTypes != null && eventTypes.Any())
{
var filterValues = eventTypes.Cast<EntityHistoryEventType>().ToArray();
pagingSpec.FilterExpressions.Add(v => filterValues.Contains(v.EventType));
pagingSpec.FilterExpressions.Add(v => eventTypes.Contains((int)v.EventType));
}
if (bookId.HasValue)

Loading…
Cancel
Save