mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Moved ordering to setup
This commit is contained in:
@@ -51,6 +51,13 @@ public interface DaoFolder {
|
||||
" AND (:search OR (account.synchronize AND account.browse))")
|
||||
EntityFolder getBrowsableFolder(long folder, boolean search);
|
||||
|
||||
@Query("SELECT folder.*" +
|
||||
", account.name AS accountName" +
|
||||
" FROM folder" +
|
||||
" JOIN account ON account.id = folder.account" +
|
||||
" WHERE account.`synchronize`")
|
||||
LiveData<List<TupleFolderSort>> liveSort();
|
||||
|
||||
@Query("SELECT folder.*" +
|
||||
", account.name AS accountName, account.color AS accountColor, account.state AS accountState" +
|
||||
", COUNT(message.id) AS messages" +
|
||||
|
||||
Reference in New Issue
Block a user