mirror of https://github.com/lidarr/Lidarr
parent
a9c19a89f2
commit
7b8c17c793
|
@ -75,8 +75,7 @@ namespace Lidarr.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 (albumId.HasValue)
|
||||
|
|
Loading…
Reference in New Issue