mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Restored query
This commit is contained in:
parent
3ef9db42ab
commit
1c3bebdc39
1 changed files with 3 additions and 3 deletions
|
@ -109,9 +109,9 @@ public interface DaoFolder {
|
|||
", (SELECT COUNT(operation.id) FROM operation WHERE operation.folder = folder.id AND operation.state = 'executing') AS executing" +
|
||||
" FROM folder" +
|
||||
" LEFT JOIN account ON account.id = folder.account" +
|
||||
" LEFT JOIN message ON message.folder = folder.id" +
|
||||
" WHERE (account.id IS NULL OR (account.`synchronize` AND folder.navigation))" +
|
||||
" AND (message.ui_hide = 0 OR message.ui_hide IS NULL)" +
|
||||
" LEFT JOIN message ON message.folder = folder.id AND message.ui_hide = 0" +
|
||||
" WHERE account.id IS NULL" +
|
||||
" OR (account.`synchronize` AND folder.navigation)" +
|
||||
" GROUP BY folder.id")
|
||||
LiveData<List<TupleFolderNav>> liveNavigation();
|
||||
|
||||
|
|
Loading…
Reference in a new issue