diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2021-07-26 15:08:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 15:08:09 +0200 |
commit | 4c400a0283c60207a1db36157d15bab1b8c5d03a (patch) | |
tree | 9864461e4996314ba1080ef98a53a96c93377e34 | |
parent | b31c08e536edd4a2ae6d07bf79c58fa7486b2e9b (diff) | |
parent | d6b4944c4bc055d6d344838c8fba96d6300846ea (diff) | |
download | nextcloud-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
-rw-r--r-- | apps/files/js/filelist.js | 2 |
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(); |