Skip to content

Commit

Permalink
[F] fix GetEpisodesRecentlyAddedSummary to return the defined number …
Browse files Browse the repository at this point in the history
…of shows with recently added episodes (without neutralizing AzureWeb API this time)
  • Loading branch information
Baine committed May 9, 2019
1 parent 1c9765d commit 075a552
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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;
Expand Down

0 comments on commit 075a552

Please sign in to comment.