Filter language improvements

This commit is contained in:
M66B
2021-06-27 18:43:45 +02:00
parent 4739f05906
commit 9beef6f7cb
2 changed files with 35 additions and 11 deletions

View File

@@ -602,8 +602,7 @@ public interface DaoMessage {
" AND (:folder IS NULL OR message.folder = :folder)" +
" AND NOT message.ui_hide" +
" AND NOT message.language IS NULL" +
" GROUP BY language" +
" ORDER BY COUNT(*) DESC")
" GROUP BY language")
List<String> getLanguages(Long account, Long folder);
@Insert