mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
Fixed: Filter history by multiple event types in PG
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user