diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-10-23 20:44:35 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-10-23 20:44:35 +0300 |
commit | 0de01356197d0317f538aa9a3c6e0213b5dfd396 (patch) | |
tree | 5a691082a3da622f0ccbef723f07619ed463b6e4 /models/export.js | |
parent | fa548a4c3266beaaa8da1049dc76602bfd3676e7 (diff) | |
parent | dfdba25ea0b9c3bcca81a9c8ba6a3e9ed7f4eec7 (diff) | |
download | wekan-0de01356197d0317f538aa9a3c6e0213b5dfd396.tar.gz wekan-0de01356197d0317f538aa9a3c6e0213b5dfd396.tar.bz2 wekan-0de01356197d0317f538aa9a3c6e0213b5dfd396.zip |
Merge branch 'api-fixes' of https://github.com/bentiss/wekan into bentiss-api-fixes
Diffstat (limited to 'models/export.js')
-rw-r--r-- | models/export.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/export.js b/models/export.js index 0911a631..62d2687a 100644 --- a/models/export.js +++ b/models/export.js @@ -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: { |