docs: fix sorting for ComputePoemRecitationsOrdersAsync
This commit is contained in:
parent
e9a7c4e765
commit
392d3d9eef
@ -1971,7 +1971,7 @@ namespace RMuseum.Services.Implementationa
|
||||
|
||||
}
|
||||
|
||||
scores.Sort((a, b) => b.ComputedOrder.CompareTo(a.ComputedOrder));//sort descending
|
||||
scores.Sort((a, b) => a.ComputedOrder.CompareTo(b.ComputedOrder));
|
||||
|
||||
if (update)
|
||||
await context.SaveChangesAsync();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user