diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-07-20 15:49:01 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-07-20 15:59:00 +0200 |
commit | 2ba5785d684d926a59f59ecb64c663268d46c013 (patch) | |
tree | bbb10f59c14d5a0ec26ec6a635affcda5ae8c109 /settings/js/authtoken_collection.js | |
parent | 703794339c97596b5032cbee9d72cd32f6dde806 (diff) | |
download | nextcloud-server-2ba5785d684d926a59f59ecb64c663268d46c013.tar.gz nextcloud-server-2ba5785d684d926a59f59ecb64c663268d46c013.zip |
sort tokens
Diffstat (limited to 'settings/js/authtoken_collection.js')
-rw-r--r-- | settings/js/authtoken_collection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/authtoken_collection.js b/settings/js/authtoken_collection.js index ab7f7d5804a..d1ffc25a599 100644 --- a/settings/js/authtoken_collection.js +++ b/settings/js/authtoken_collection.js @@ -39,7 +39,7 @@ comparator: function (t1, t2) { var ts1 = parseInt(t1.get('lastActivity'), 10); var ts2 = parseInt(t2.get('lastActivity'), 10); - return ts1 < ts2; + return ts2 - ts1; }, tokenType: null, |