From e8711de0d607c39028060bb39dbabdb45b35bf0d Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 9 Jul 2022 21:14:57 +0200 Subject: [PATCH] Fixed order of items on layer to be the same as created --- I18N Commander/Processor/SectionProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I18N Commander/Processor/SectionProcessor.cs b/I18N Commander/Processor/SectionProcessor.cs index 6f9b197..bb8f74f 100644 --- a/I18N Commander/Processor/SectionProcessor.cs +++ b/I18N Commander/Processor/SectionProcessor.cs @@ -11,7 +11,7 @@ public static class SectionProcessor /// public static IAsyncEnumerable
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(); } ///