mirror of
https://github.com/Radarr/Radarr
synced 2025-12-14 12:23:11 +01:00
Fixed: Filter history by multiple event types in PG
This commit is contained in:
parent
a652ce50a9
commit
f7816aa5cd
1 changed files with 1 additions and 2 deletions
|
|
@ -68,8 +68,7 @@ public PagingResource<HistoryResource> GetHistory([FromQuery] PagingRequestResou
|
|||
|
||||
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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue