Fixed order of items on layer to be the same as created
This commit is contained in:
1 file changed
+1
-1
@@ -11,7 +11,7 @@ public static class SectionProcessor
|
||||
/// </summary>
|
||||
public static IAsyncEnumerable<Section> LoadLayer(DataContext db, int depth)
|
||||
{
|
||||
return db.Sections.Where(n => n.Depth == depth).OrderBy(n => n.DataKey).AsAsyncEnumerable();
|
||||
return db.Sections.Where(n => n.Depth == depth).OrderBy(n => n.Id).AsAsyncEnumerable();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user