mirror of
https://github.com/sphildreth/roadie
synced 2024-11-25 21:50:22 +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);
|
.ConfigureAwait(false);
|
||||||
|
|
||||||
// Dynamic list of favorites
|
// 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
|
var userFavoriteTracks = from ut in DbContext.UserTracks
|
||||||
join t in DbContext.Tracks on ut.TrackId equals t.Id
|
join t in DbContext.Tracks on ut.TrackId equals t.Id
|
||||||
|
|
Loading…
Reference in a new issue