diff options
author | Jan C. Borchardt <hey@jancborchardt.net> | 2020-10-07 17:18:27 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-10-13 17:29:52 +0200 |
commit | 0f2f857dc3b404b389a7c84b4336fa46b072738b (patch) | |
tree | 1492fe6a0d61af66a396875036f34365fb6870c8 /apps/files_trashbin/tests | |
parent | 3b82c6cc849f9b0f23d15aebc8dc280fbbd4d8ef (diff) | |
download | nextcloud-server-0f2f857dc3b404b389a7c84b4336fa46b072738b.tar.gz nextcloud-server-0f2f857dc3b404b389a7c84b4336fa46b072738b.zip |
Sort deleted files by most recently deleted first
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_trashbin/tests')
-rw-r--r-- | apps/files_trashbin/tests/js/filelistSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/tests/js/filelistSpec.js b/apps/files_trashbin/tests/js/filelistSpec.js index a56ee987b78..11ba49c487e 100644 --- a/apps/files_trashbin/tests/js/filelistSpec.js +++ b/apps/files_trashbin/tests/js/filelistSpec.js @@ -129,7 +129,7 @@ describe('OCA.Trashbin.FileList tests', function () { describe('Initialization', function () { it('Sorts by mtime by default', function () { expect(fileList._sort).toEqual('mtime'); - expect(fileList._sortDirection).toEqual('desc'); + expect(fileList._sortDirection).toEqual('asc'); }); it('Always returns read and delete permission', function () { expect(fileList.getDirectoryPermissions()).toEqual(OC.PERMISSION_READ | OC.PERMISSION_DELETE); |