mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
parent
8a47cfa4ba
commit
9b9d21030b
1 changed files with 4 additions and 1 deletions
|
|
@ -16,8 +16,11 @@ Meteor.publish('boards', function() {
|
||||||
return Boards.find({
|
return Boards.find({
|
||||||
archived: false,
|
archived: false,
|
||||||
$or: [
|
$or: [
|
||||||
|
{
|
||||||
|
_id: { $in: starredBoards },
|
||||||
|
permission: 'public',
|
||||||
|
},
|
||||||
{ members: { $elemMatch: { userId: this.userId, isActive: true }}},
|
{ members: { $elemMatch: { userId: this.userId, isActive: true }}},
|
||||||
{ _id: { $in: starredBoards } },
|
|
||||||
],
|
],
|
||||||
}, {
|
}, {
|
||||||
fields: {
|
fields: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue