diff options
author | Orzu Ionut <orzu.ionut@gmail.com> | 2021-11-09 16:07:36 +0200 |
---|---|---|
committer | Orzu Ionut <orzu.ionut@gmail.com> | 2021-11-09 16:59:16 +0200 |
commit | 33c1c5c91b11f3401283274579747efee51013e3 (patch) | |
tree | 0f8a5f12b5c8d3d326dfb68c34716231bc0c7b9e /apps/files_trashbin/src | |
parent | 81b60c14c985b0a46fd31733db2add9efd7bedba (diff) | |
download | nextcloud-server-33c1c5c91b11f3401283274579747efee51013e3.tar.gz nextcloud-server-33c1c5c91b11f3401283274579747efee51013e3.zip |
Show most recently deleted files first in trash can
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
Diffstat (limited to 'apps/files_trashbin/src')
-rw-r--r-- | apps/files_trashbin/src/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/src/filelist.js b/apps/files_trashbin/src/filelist.js index 9f66ee56cc0..5dfb7a0068f 100644 --- a/apps/files_trashbin/src/filelist.js +++ b/apps/files_trashbin/src/filelist.js @@ -90,7 +90,7 @@ this.$el.find('.undelete').click('click', _.bind(this._onClickRestoreSelected, this)) // Sort by most recently deleted first - this.setSort('mtime', 'asc') + this.setSort('mtime', 'desc') /** * Override crumb making to add "Deleted Files" entry |