summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src
diff options
context:
space:
mode:
authorOrzu Ionut <orzu.ionut@gmail.com>2021-11-09 16:07:36 +0200
committerOrzu Ionut <orzu.ionut@gmail.com>2021-11-09 16:59:16 +0200
commit33c1c5c91b11f3401283274579747efee51013e3 (patch)
tree0f8a5f12b5c8d3d326dfb68c34716231bc0c7b9e /apps/files_trashbin/src
parent81b60c14c985b0a46fd31733db2add9efd7bedba (diff)
downloadnextcloud-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.js2
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