mirror of
https://github.com/Readarr/Readarr
synced 2025-12-20 23:35:13 +01:00
Fixed: Filter history by multiple event types in PG
This commit is contained in:
parent
31da559f89
commit
e968fcaff6
1 changed files with 1 additions and 2 deletions
|
|
@ -69,8 +69,7 @@ public PagingResource<HistoryResource> GetHistory([FromQuery] PagingRequestResou
|
|||
|
||||
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…
Reference in a new issue