mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-21 02:38:11 +00:00
(js) Use user's settings when sorting messages
This commit is contained in:
1 parent
a8ab01a5eb
commit
a7afcbf4a0
3 files changed
+76
-52
No files matched your search
@@ -12,6 +12,7 @@
|
||||
|
||||
Mailbox.selectedFolder = stateMailbox;
|
||||
|
||||
vm.service = Mailbox;
|
||||
vm.accounts = stateAccounts;
|
||||
vm.account = stateAccount;
|
||||
vm.selectedFolder = stateMailbox;
|
||||
@@ -72,7 +73,7 @@
|
||||
}
|
||||
|
||||
function sortedBy(field) {
|
||||
return vm.selectedFolder.$query.sortingAttributes.sort == field;
|
||||
return Mailbox.$query.sort == field;
|
||||
}
|
||||
|
||||
function cancelSearch() {
|
||||
|
||||
Reference in new issue
Block a user