mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
parent
a9c19a89f2
commit
7b8c17c793
1 changed files with 1 additions and 2 deletions
|
@ -75,8 +75,7 @@ namespace Lidarr.Api.V1.History
|
||||||
|
|
||||||
if (eventTypes != null && eventTypes.Any())
|
if (eventTypes != null && eventTypes.Any())
|
||||||
{
|
{
|
||||||
var filterValues = eventTypes.Cast<EntityHistoryEventType>().ToArray();
|
pagingSpec.FilterExpressions.Add(v => eventTypes.Contains((int)v.EventType));
|
||||||
pagingSpec.FilterExpressions.Add(v => filterValues.Contains(v.EventType));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (albumId.HasValue)
|
if (albumId.HasValue)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue