mirror of
https://github.com/sphildreth/roadie
synced 2024-11-10 06:44:12 +00:00
Exclude dynamic Playlist when searching
This commit is contained in:
parent
f508aebd36
commit
ad85bea25a
1 changed files with 2 additions and 1 deletions
|
@ -495,7 +495,8 @@ namespace Roadie.Api.Services
|
|||
.ConfigureAwait(false);
|
||||
|
||||
// Dynamic list of favorites
|
||||
if (!request.FilterToArtistId.HasValue && !request.FilterToReleaseId.HasValue && roadieUser != null)
|
||||
if (string.IsNullOrWhiteSpace(normalizedFilterValue) &&
|
||||
!request.FilterToArtistId.HasValue && !request.FilterToReleaseId.HasValue && roadieUser != null)
|
||||
{
|
||||
var userFavoriteTracks = from ut in DbContext.UserTracks
|
||||
join t in DbContext.Tracks on ut.TrackId equals t.Id
|
||||
|
|
Loading…
Reference in a new issue