summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomulus Urakagi Tsai <urakagi@gmail.com>2019-08-16 07:42:18 +0000
committerRomulus Urakagi Tsai <urakagi@gmail.com>2019-08-16 07:42:18 +0000
commitb778cea34f8d0764fbe2ab28b43b6201edd94f41 (patch)
tree44d84794a2b1a41d1585fd91083a3a3a5ebe9778
parent3084f242784e9d860789c153dc6456b1aba16d96 (diff)
downloadwekan-b778cea34f8d0764fbe2ab28b43b6201edd94f41.tar.gz
wekan-b778cea34f8d0764fbe2ab28b43b6201edd94f41.tar.bz2
wekan-b778cea34f8d0764fbe2ab28b43b6201edd94f41.zip
Fix cannot show archived list bug
-rw-r--r--models/boards.js5
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() {