More Bugfixes (#2989)
This commit is contained in:
parent
1ae723b405
commit
a3e020fe17
49 changed files with 579 additions and 272 deletions
|
|
@ -57,7 +57,10 @@ public class StatisticService : IStatisticService
|
|||
public async Task<UserReadStatistics> GetUserReadStatistics(int userId, IList<int> libraryIds)
|
||||
{
|
||||
if (libraryIds.Count == 0)
|
||||
{
|
||||
libraryIds = await _context.Library.GetUserLibraries(userId).ToListAsync();
|
||||
}
|
||||
|
||||
|
||||
// Total Pages Read
|
||||
var totalPagesRead = await _context.AppUserProgresses
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue