mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 23:59:27 -04:00
Merge pull request #28168 from nextcloud/backport/28164/stable22
[stable22] Fix sort function of files multiple selection actions
This commit is contained in:
commit
76e0481bd5
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue