mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Add copy to clipboard for debug text and some bug fixes
This commit is contained in:
parent
94525a4d3d
commit
49214747cd
4 changed files with 45 additions and 9 deletions
|
|
@ -16,7 +16,8 @@ import {
|
|||
OPERATOR_BOARD,
|
||||
OPERATOR_COMMENT,
|
||||
OPERATOR_CREATED_AT,
|
||||
OPERATOR_CREATOR, OPERATOR_DEBUG,
|
||||
OPERATOR_CREATOR,
|
||||
OPERATOR_DEBUG,
|
||||
OPERATOR_DUE,
|
||||
OPERATOR_HAS,
|
||||
OPERATOR_LABEL,
|
||||
|
|
@ -446,8 +447,8 @@ function buildSelector(queryParams) {
|
|||
{ _id: { $in: attachments.map(attach => attach.cardId) } },
|
||||
{ _id: { $in: comments.map(com => com.cardId) } },
|
||||
];
|
||||
if (queryParams.text == "false" || queryParams.text == "true") {
|
||||
cardsSelector.push({ customFields: { $elemMatch: { value: queryParams.text == "true" ? true : false } } } );
|
||||
if (queryParams.text === "false" || queryParams.text === "true") {
|
||||
cardsSelector.push({ customFields: { $elemMatch: { value: queryParams.text === "true" } } } );
|
||||
}
|
||||
selector.$and.push({ $or: cardsSelector });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue