Fixed order of items on layer to be the same as created
This commit is contained in:
parent
aa34f541cf
commit
e8711de0d6
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user