Fixed grouping accounts

This commit is contained in:
M66B 2024-02-26 19:48:22 +01:00
parent fe552fe1a6
commit 334783cd3a
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ public interface DaoAccount {
" LEFT JOIN folder AS drafts ON drafts.account = account.id AND drafts.type = '" + EntityFolder.DRAFTS + "'" +
" LEFT JOIN folder AS sent ON sent.account = account.id AND sent.type = '" + EntityFolder.SENT + "'" +
" WHERE (:settings OR account.synchronize)" +
" GROUP BY account.id" +
" UNION " +