mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Global Search, Checklist-Items are searched now too
This commit is contained in:
parent
44f6cc978d
commit
ccc0b3bcf9
1 changed files with 2 additions and 2 deletions
|
|
@ -404,7 +404,7 @@ function buildSelector(queryParams) {
|
|||
|
||||
const items = ChecklistItems.find(
|
||||
{ title: regex },
|
||||
{ fields: { cardId: 1 } },
|
||||
{ fields: { cardId: 1, checklistId: 1 } },
|
||||
);
|
||||
const checklists = Checklists.find(
|
||||
{
|
||||
|
|
@ -610,7 +610,7 @@ function findCards(sessionId, query) {
|
|||
// console.log('selector:', query.selector);
|
||||
// console.log('selector.$and:', query.selector.$and);
|
||||
// eslint-disable-next-line no-console
|
||||
// console.log('projection:', projection);
|
||||
// console.log('projection:', query.projection);
|
||||
|
||||
const cards = Cards.find(query.selector, query.projection);
|
||||
// eslint-disable-next-line no-console
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue