mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed: Only look for monitored albums on artist search
This commit is contained in:
parent
bef04af5cd
commit
443e536005
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ namespace NzbDrone.Core.IndexerSearch
|
|||
var searchSpec = Get<ArtistSearchCriteria>(artist, userInvokedSearch, interactiveSearch);
|
||||
var albums = _albumService.GetAlbumsByArtist(artist.Id);
|
||||
|
||||
albums = albums.Where(a => a.Monitored).ToList();
|
||||
|
||||
searchSpec.Albums = albums;
|
||||
|
||||
return Dispatch(indexer => indexer.Fetch(searchSpec), searchSpec);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue