diff options
author | ViViDboarder <ViViDboarder@gmail.com> | 2018-02-06 19:33:32 -0800 |
---|---|---|
committer | ViViDboarder <ViViDboarder@gmail.com> | 2018-02-06 19:35:01 -0800 |
commit | b267015d8cf3c8dac459c430b95b4426c4c4ce65 (patch) | |
tree | 574f39c8c0f4d7945fbaf2d8d96932f25f31a6e5 /models | |
parent | 79ae90825e155a772124938ed12dd5e373e05f95 (diff) | |
download | wekan-b267015d8cf3c8dac459c430b95b4426c4c4ce65.tar.gz wekan-b267015d8cf3c8dac459c430b95b4426c4c4ce65.tar.bz2 wekan-b267015d8cf3c8dac459c430b95b4426c4c4ce65.zip |
Fixing cards query to apply sort
Issue #1461
Diffstat (limited to 'models')
-rw-r--r-- | models/lists.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/lists.js b/models/lists.js index 7ed27361..7333db94 100644 --- a/models/lists.js +++ b/models/lists.js @@ -82,8 +82,8 @@ Lists.helpers({ }; if (swimlaneId) selector.swimlaneId = swimlaneId; - return Cards.find(Filter.mongoSelector(selector, - { sort: ['sort'] })); + return Cards.find(Filter.mongoSelector(selector), + { sort: ['sort'] }); }, allCards() { |