Drop requirement for multiple unified system folders

This commit is contained in:
M66B 2019-07-23 10:28:41 +02:00
parent 4808f118bd
commit fd5f7b3418
1 changed files with 1 additions and 2 deletions

View File

@ -163,8 +163,7 @@ public interface DaoFolder {
" WHERE account.synchronize" +
" AND folder.type <> '" + EntityFolder.SYSTEM + "'" +
" AND folder.type <> '" + EntityFolder.USER + "'" +
" GROUP BY folder.type" +
" HAVING COUNT(folder.id) > 1")
" GROUP BY folder.type")
LiveData<List<EntityFolderUnified>> liveUnified();
@Query("SELECT * FROM folder WHERE id = :id")