mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Merge pull request #2697 from justinr1234/patch-7
Fix #2688 subcard selector
This commit is contained in:
commit
db32f595fe
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) {
|
|||
parentCards.selector = _ids => ({ parentId: _ids });
|
||||
const boards = this.join(Boards);
|
||||
const subCards = this.join(Cards);
|
||||
subCards.selector = () => ({ archived: isArchived });
|
||||
subCards.selector = _ids => ({ _id: _ids, archived: isArchived });
|
||||
|
||||
this.cursor(
|
||||
Cards.find({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue