mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 17:48:49 +01:00
Add new debug operator to search and fix some bugs
This commit is contained in:
parent
7f8f3f8f16
commit
94525a4d3d
7 changed files with 153 additions and 53 deletions
|
|
@ -16,7 +16,7 @@ import {
|
|||
OPERATOR_BOARD,
|
||||
OPERATOR_COMMENT,
|
||||
OPERATOR_CREATED_AT,
|
||||
OPERATOR_CREATOR,
|
||||
OPERATOR_CREATOR, OPERATOR_DEBUG,
|
||||
OPERATOR_DUE,
|
||||
OPERATOR_HAS,
|
||||
OPERATOR_LABEL,
|
||||
|
|
@ -458,7 +458,7 @@ function buildSelector(queryParams) {
|
|||
}
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
//console.log('cards selector:', JSON.stringify(selector, null, 2));
|
||||
// console.log('cards selector:', JSON.stringify(selector, null, 2));
|
||||
|
||||
const query = new Query();
|
||||
query.selector = selector;
|
||||
|
|
@ -634,6 +634,7 @@ function findCards(sessionId, query) {
|
|||
selector: SessionData.pickle(query.selector),
|
||||
projection: SessionData.pickle(query.projection),
|
||||
errors: query.errors(),
|
||||
debug: query.getQueryParams().getPredicate(OPERATOR_DEBUG)
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue