Moving many cards with multi selection drag/drop to another list keeps the card order

This commit is contained in:
Martin Filser 2021-11-24 08:50:18 +01:00
parent b988ef430c
commit f38e3db93c

View file

@ -95,7 +95,7 @@ BlazeComponent.extendComponent({
$cards.sortable('cancel');
if (MultiSelection.isActive()) {
Cards.find(MultiSelection.getMongoSelector()).forEach((card, i) => {
Cards.find(MultiSelection.getMongoSelector(), {sort: ['sort']}).forEach((card, i) => {
const newSwimlaneId = targetSwimlaneId
? targetSwimlaneId
: card.swimlaneId || defaultSwimlaneId;