Release Testing Time (#1785)
* Fixed a bug with getting continue point where there was a single volume unread and a later volume with chapters inside it, the chapters were being picked. * Fixed a bug where resuming from jump key wasn't working (develop) * Cleaned up the spacing
This commit is contained in:
parent
0de927dee4
commit
bdd2a0a26a
11 changed files with 136 additions and 34 deletions
|
|
@ -105,12 +105,6 @@ public class StatisticService : IStatisticService
|
|||
.ToListAsync();
|
||||
|
||||
|
||||
// var averageReadingTimePerWeek = _context.AppUserProgresses
|
||||
// .Where(p => p.AppUserId == userId)
|
||||
// .Join(_context.Chapter, p => p.ChapterId, c => c.Id,
|
||||
// (p, c) => (p.PagesRead / (float) c.Pages) * c.AvgHoursToRead)
|
||||
// .Average() / 7.0;
|
||||
|
||||
var averageReadingTimePerWeek = _context.AppUserProgresses
|
||||
.Where(p => p.AppUserId == userId)
|
||||
.Join(_context.Chapter, p => p.ChapterId, c => c.Id,
|
||||
|
|
@ -168,8 +162,6 @@ public class StatisticService : IStatisticService
|
|||
.ToListAsync();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public async Task<IEnumerable<StatCount<PublicationStatus>>> GetPublicationCount()
|
||||
{
|
||||
return await _context.SeriesMetadata
|
||||
|
|
@ -196,7 +188,6 @@ public class StatisticService : IStatisticService
|
|||
.ToListAsync();
|
||||
}
|
||||
|
||||
|
||||
public async Task<ServerStatisticsDto> GetServerStatistics()
|
||||
{
|
||||
var mostActiveUsers = _context.AppUserProgresses
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue