diff options
author | Romulus Urakagi Tsai <urakagi@gmail.com> | 2019-08-16 07:42:18 +0000 |
---|---|---|
committer | Romulus Urakagi Tsai <urakagi@gmail.com> | 2019-08-16 07:42:18 +0000 |
commit | b778cea34f8d0764fbe2ab28b43b6201edd94f41 (patch) | |
tree | 44d84794a2b1a41d1585fd91083a3a3a5ebe9778 | |
parent | 3084f242784e9d860789c153dc6456b1aba16d96 (diff) | |
download | wekan-b778cea34f8d0764fbe2ab28b43b6201edd94f41.tar.gz wekan-b778cea34f8d0764fbe2ab28b43b6201edd94f41.tar.bz2 wekan-b778cea34f8d0764fbe2ab28b43b6201edd94f41.zip |
Fix cannot show archived list bug
-rw-r--r-- | models/boards.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/models/boards.js b/models/boards.js index 2117ff7c..b5f8b01b 100644 --- a/models/boards.js +++ b/models/boards.js @@ -407,10 +407,7 @@ Boards.helpers({ }, lists() { - return Lists.find( - { boardId: this._id, archived: false }, - { sort: { sort: 1 } }, - ); + return Lists.find({ boardId: this._id }, { sort: { sort: 1 } }); }, nullSortLists() { |