Skip to content
Snippets Groups Projects
Commit c3adf915 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt Committed by GitHub
Browse files

Merge pull request #33 from nextcloud/fix-accounts-order

fix client-side account order
parents 93eda554 ad9d506b
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
* later. See the COPYING file.
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @copyright Christoph Wurst 2015
* @copyright Christoph Wurst 2015, 2016
*/
define(function(require) {
......@@ -22,7 +22,7 @@ define(function(require) {
model: Account,
url: OC.generateUrl('apps/mail/accounts'),
comparator: function(account) {
return account.get('id');
return account.get('accountId');
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment