Fixed composable identity order

This commit is contained in:
M66B 2020-03-01 18:03:08 +01:00
parent 4b761d2235
commit 6038f5b893
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public interface DaoIdentity {
" WHERE (:account IS NULL OR account.id = :account)" +
" AND identity.synchronize" +
" AND account.synchronize" +
" ORDER BY account.`order`, account.`primary` DESC, account.name COLLATE NOCASE" +
" ORDER BY account.`primary` DESC, account.name COLLATE NOCASE" +
", identity.`primary` DESC, identity.display COLLATE NOCASE, identity.name COLLATE NOCASE, identity.email COLLATE NOCASE")
List<TupleIdentityEx> getComposableIdentities(Long account);