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