mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
fix cards export
6eeb708e4d
(Fix cards export and add customFields export.) is
incomplete as it allows to export newer cards inserted in the db after
the linkedId has been set, but not older cards present in an earlier
version of wekan.
Allow both null and empty value to be retrieved to match all cards.
related #1873
This commit is contained in:
parent
ccf66905e7
commit
24f66c9f88
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Exporter {
|
|||
|
||||
build() {
|
||||
const byBoard = { boardId: this._boardId };
|
||||
const byBoardNoLinked = { boardId: this._boardId, linkedId: '' };
|
||||
const byBoardNoLinked = { boardId: this._boardId, linkedId: {$in: ['', null] } };
|
||||
// we do not want to retrieve boardId in related elements
|
||||
const noBoardId = {
|
||||
fields: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue