Last issue before release (#2681)
This commit is contained in:
parent
149c30b138
commit
355ea24db6
6 changed files with 72 additions and 35 deletions
|
|
@ -241,7 +241,9 @@ public class VolumeRepository : IVolumeRepository
|
|||
c.LastReadingProgress = progresses.Max(p => p.LastModified);
|
||||
}
|
||||
|
||||
v.PagesRead = userProgress.Where(p => p.VolumeId == v.Id).Sum(p => p.PagesRead);
|
||||
v.PagesRead = userProgress
|
||||
.Where(p => p.VolumeId == v.Id)
|
||||
.Sum(p => p.PagesRead);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue