Order child folders by name

This commit is contained in:
M66B 2020-10-18 09:24:41 +02:00
parent 41be2b43b5
commit 1aa57a5aae
1 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,8 @@ public interface DaoFolder {
List<EntityFolder> getNotifyingFolders(long account);
@Query("SELECT * FROM folder" +
" WHERE parent = :parent")
" WHERE parent = :parent" +
" ORDER BY name COLLATE NOCASE")
List<EntityFolder> getChildFolders(long parent);
@Query("SELECT folder.type" +