fix adding shows directly to schedule (#1383)
This commit is contained in:
@@ -35,6 +35,6 @@ public class SearchArtistsHandler : IRequestHandler<SearchArtists, List<NamedMed
|
||||
return Option<NamedMediaItemViewModel>.None;
|
||||
}
|
||||
|
||||
return new NamedMediaItemViewModel(artist.Id, artist.Title);
|
||||
return new NamedMediaItemViewModel(artist.ArtistId, artist.Title);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ public class SearchTelevisionShowsHandler : IRequestHandler<SearchTelevisionShow
|
||||
private static NamedMediaItemViewModel ToNamedMediaItem(ShowMetadata show)
|
||||
{
|
||||
return new NamedMediaItemViewModel(
|
||||
show.Id,
|
||||
show.ShowId,
|
||||
$"{show.Title} ({(show.Year.HasValue ? show.Year.Value.ToString() : "???")})");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user