mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Do not include archived lists in global search help
This commit is contained in:
parent
103cfb936d
commit
39b4ada26d
1 changed files with 7 additions and 2 deletions
|
@ -378,8 +378,13 @@ Meteor.methods({
|
||||||
// my lists
|
// my lists
|
||||||
return _.uniq(
|
return _.uniq(
|
||||||
Lists.find(
|
Lists.find(
|
||||||
{ boardId: { $in: Boards.userBoardIds(this.userId) } },
|
{
|
||||||
{ fields: { title: 1 } },
|
boardId: { $in: Boards.userBoardIds(this.userId) },
|
||||||
|
archived: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
fields: { title: 1 },
|
||||||
|
},
|
||||||
)
|
)
|
||||||
.fetch()
|
.fetch()
|
||||||
.map(list => {
|
.map(list => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue