#264 bug fix in computing the order of reciations based on computed scores
This commit is contained in:
parent
f4ff5835dd
commit
c431a04097
@ -1882,7 +1882,7 @@ namespace RMuseum.Services.Implementationa
|
||||
var recitations =
|
||||
await _context.Recitations
|
||||
.Where(r => r.ReviewStatus == AudioReviewStatus.Approved && r.GanjoorPostId == poemId)
|
||||
.OrderByDescending(r => r.Id) //this causes the oldest recirations to become the first one
|
||||
.OrderBy(r => r.Id) //this causes the oldest recirations to become the first one
|
||||
.ToListAsync();
|
||||
|
||||
List<RecitationOrderingViewModel> scores = new List<RecitationOrderingViewModel>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user