diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-04-11 16:44:53 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-04-28 17:42:04 +0200 |
commit | c0e5975ab64285613563a7ef34ca7c8717c0f0fe (patch) | |
tree | 9392cef703b25a114ac8c8aa7083abc854c313ad /apps/files_trashbin/js | |
parent | 688f6162daeec724c537f9c283092f45b29b05f2 (diff) | |
download | nextcloud-server-c0e5975ab64285613563a7ef34ca7c8717c0f0fe.tar.gz nextcloud-server-c0e5975ab64285613563a7ef34ca7c8717c0f0fe.zip |
Set default sort of trashbin to timestamp descending
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r-- | apps/files_trashbin/js/filelist.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js index 3bb3a92b60d..00fc7e16b88 100644 --- a/apps/files_trashbin/js/filelist.js +++ b/apps/files_trashbin/js/filelist.js @@ -80,6 +80,7 @@ FileList.initialize = function() { var result = oldInit.apply(this, arguments); $('.undelete').click('click', FileList._onClickRestoreSelected); + this.setSort('mtime', 'desc'); return result; }; |