Merge branch 'edge' into meteor-1.8

This commit is contained in:
Lauri Ojansivu 2019-06-19 11:43:23 +03:00
commit 2e1162ed73
5 changed files with 15 additions and 6 deletions

View file

@ -1,3 +1,12 @@
# v2.85 2019-06-19 Wekan release
This release fixes the following bugs:
- [Fixed bug: rule doesn't move card to top/bottom](https://github.com/wekan/wekan/pull/2502).
Thanks to road42.
Thanks to above GitHub users for their contributions and translators for their translations.
# v2.84 2019-06-18 Wekan release
This release fixes the following bugs:

View file

@ -1,5 +1,5 @@
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
appVersion: "v2.84.0"
appVersion: "v2.85.0"
files:
userUploads:
- README.md

View file

@ -1,6 +1,6 @@
{
"name": "wekan",
"version": "v2.84.0",
"version": "v2.85.0",
"description": "Open-Source kanban",
"private": true,
"scripts": {

View file

@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Wekan"),
# The name of the app as it is displayed to the user.
appVersion = 286,
appVersion = 287,
# Increment this for every release.
appMarketingVersion = (defaultText = "2.84.0~2019-06-18"),
appMarketingVersion = (defaultText = "2.85.0~2019-06-19"),
# Human-readable presentation of the app version.
minUpgradableAppVersion = 0,

View file

@ -51,7 +51,7 @@ RulesHelper = {
listId = list._id;
}
const minOrder = _.min(list.cardsUnfiltered(card.swimlaneId).map((c) => c.sort));
card.move(card.swimlaneId, listId, minOrder - 1);
card.move(boardId, card.swimlaneId, listId, minOrder - 1);
}
if(action.actionType === 'moveCardToBottom'){
let listId;
@ -64,7 +64,7 @@ RulesHelper = {
listId = list._id;
}
const maxOrder = _.max(list.cardsUnfiltered(card.swimlaneId).map((c) => c.sort));
card.move(card.swimlaneId, listId, maxOrder + 1);
card.move(boardId, card.swimlaneId, listId, maxOrder + 1);
}
if(action.actionType === 'sendEmail'){
const to = action.emailTo;