summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-08-16 22:36:19 +0300
committerLauri Ojansivu <x@xet7.org>2019-08-16 22:36:19 +0300
commit564ab219c6d80bce342ab0449b58af662898c200 (patch)
tree9bdb006a6a41255c8fd7dae774dfa1407c33831c /models
parent4b2193436eeedf3f9e8cd2bbf0a134087f77a087 (diff)
parent026d8f49419a7780c1e46cb2b3c68aaf07bc326a (diff)
downloadwekan-564ab219c6d80bce342ab0449b58af662898c200.tar.gz
wekan-564ab219c6d80bce342ab0449b58af662898c200.tar.bz2
wekan-564ab219c6d80bce342ab0449b58af662898c200.zip
Merge branch 'PDIS-master'
Diffstat (limited to 'models')
-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() {