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/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/js')
-rw-r--r-- | apps/files/js/filelist.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 1c24ca45996..04c5a8ff282 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -80,9 +80,7 @@ window.FileList = { this.fileSummary = this._createSummary(); - this._sort = 'name'; - this._sortDirection = 'asc'; - this._sortComparator = this.Comparators.name; + this.setSort('name', 'asc'); this.breadcrumb = new BreadCrumb({ onClick: this._onClickBreadCrumb, @@ -1583,7 +1581,6 @@ $(document).ready(function() { targetDir = parseCurrentDirFromUrl(); } if (targetDir) { - FileList.setSort('name', 'asc'); FileList.changeDirectory(targetDir, false); } }; |