Skip to content
Permalink
Browse files

[F] fix GetEpisodesRecentlyAddedSummary to return the defined number …

…of shows with recently added episodes (without neutralizing AzureWeb API this time)
  • Loading branch information...
Baine committed May 9, 2019
1 parent 1c9765d commit 075a552e3cb324d2e1dbf39eadb091a20147c4db
@@ -463,8 +463,8 @@ public List<CL_AnimeEpisode_User> GetEpisodesRecentlyAddedSummary(int maxRecords

DateTime start = DateTime.Now;

var results = RepoFactory.VideoLocal.GetMostRecentlyAdded(maxRecords, userID)
.SelectMany(a => a.GetAnimeEpisodes()).Select(a => a.AnimeSeriesID).Distinct();
var results = RepoFactory.VideoLocal.GetMostRecentlyAdded(-1, userID)
.SelectMany(a => a.GetAnimeEpisodes()).Select(a => a.AnimeSeriesID).Distinct().Take(maxRecords);


TimeSpan ts2 = DateTime.Now - start;

0 comments on commit 075a552

Please sign in to comment.
You can’t perform that action at this time.