Fixed folder sort order

This commit is contained in:
M66B
2019-06-28 09:46:18 +02:00
parent 851ead228c
commit 7ecfd7a788
4 changed files with 9 additions and 5 deletions

View File

@@ -413,6 +413,9 @@ public class EntityFolder extends EntityOrder implements Serializable {
if (c != 0)
return c;
if (context == null)
return collator.compare(f1.name, f2.name);
String name1 = f1.getDisplayName(context);
String name2 = f2.getDisplayName(context);
return collator.compare(name1, name2);