Skip to content

Commit afda142

Browse files
committed
fix: task search
1 parent dcf7a9c commit afda142

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/SearchQueryUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ function getQueryWithUpdatedValues(query: string, shouldSkipAmountConversion = f
15791579
const standardizedQuery = traverseAndUpdatedQuery(queryJSON, computeNodeValue);
15801580
const rawFilterList = getRawFilterListFromQuery(query);
15811581
const hasInFilter = rawFilterList?.some((filter) => !filter.isDefault && filter.key === CONST.SEARCH.SYNTAX_FILTER_KEYS.IN) ?? false;
1582-
const hasExplicitType = rawFilterList?.some((filter) => !filter.isDefault && filter.key === CONST.SEARCH.SYNTAX_ROOT_KEYS.TYPE) ?? false;
1582+
const hasExplicitType = rawFilterList?.some((filter) => filter.key === CONST.SEARCH.SYNTAX_ROOT_KEYS.TYPE) ?? false;
15831583

15841584
if (hasInFilter && !hasExplicitType) {
15851585
standardizedQuery.type = CONST.SEARCH.DATA_TYPES.CHAT;

0 commit comments

Comments
 (0)