mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 22:07:32 -04:00
Fixed: Filter history by multiple event types in PG
This commit is contained in:
parent
6201b42fbd
commit
031d81330d
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue