aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2021-07-26 15:08:09 +0200
committerGitHub <noreply@github.com>2021-07-26 15:08:09 +0200
commit4c400a0283c60207a1db36157d15bab1b8c5d03a (patch)
tree9864461e4996314ba1080ef98a53a96c93377e34 /apps/files/js
parentb31c08e536edd4a2ae6d07bf79c58fa7486b2e9b (diff)
parentd6b4944c4bc055d6d344838c8fba96d6300846ea (diff)
downloadnextcloud-server-4c400a0283c60207a1db36157d15bab1b8c5d03a.tar.gz
nextcloud-server-4c400a0283c60207a1db36157d15bab1b8c5d03a.zip
Merge pull request #28164 from nextcloud/fix/file-multiselect-actions-sort
Fix sort function of files multiple selection actions
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 38e8e66ccbe..4f2f3f104d2 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1506,7 +1506,7 @@
return;
}
this.fileMultiSelectMenu = new OCA.Files.FileMultiSelectMenu(this.multiSelectMenuItems.sort(function(a, b) {
- return a.order > b.order
+ return a.order - b.order
}));
this.fileMultiSelectMenu.render();
this.$el.find('.selectedActions .filesSelectMenu').remove();