Merge branch 'nztqa-fix-copy-card' into devel

Fix Data inconsistency when copying card.
Thanks to nztqa ! Related #1218
This commit is contained in:
Lauri Ojansivu 2017-10-01 09:40:27 +03:00
commit 6ec14ee52b
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,11 @@
# Upcoming Wekan relelase
This release fixes the following bugs:
* [Data inconsistency when copying card](https://github.com/wekan/wekan/pull/1246). Note: There is no feature for copying card attachment yet.
Thanks to Github user nztqa for contributions.
# v0.44 2017-09-30 Wekan release
This release adds the following new features:

View file

@ -220,6 +220,7 @@ Template.copyCardPopup.events({
if (title) {
card.title = title;
card.coverId = '';
const _id = Cards.insert(card);
// In case the filter is active we need to add the newly inserted card in
// the list of exceptions -- cards that are not filtered. Otherwise the