Skip to content

Commit 8137436

Browse files
committed
remove group-by from suggested searches
1 parent f0dfd31 commit 8137436

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/libs/SearchUIUtils.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ function getSuggestedSearches(defaultFeedID: string | undefined, accountID: numb
329329
type: CONST.SEARCH.DATA_TYPES.EXPENSE,
330330
feed: defaultFeedID ? [defaultFeedID] : [''],
331331
postedOn: CONST.SEARCH.DATE_PRESETS.LAST_STATEMENT,
332-
groupBy: CONST.SEARCH.GROUP_BY.CARD,
333332
}),
334333
get hash() {
335334
return buildSearchQueryJSON(this.searchQuery)?.hash ?? CONST.DEFAULT_NUMBER_ID;
@@ -344,7 +343,6 @@ function getSuggestedSearches(defaultFeedID: string | undefined, accountID: numb
344343
type: CONST.SEARCH.DATA_TYPES.EXPENSE,
345344
status: [CONST.SEARCH.STATUS.EXPENSE.DRAFTS, CONST.SEARCH.STATUS.EXPENSE.OUTSTANDING],
346345
reimbursable: CONST.SEARCH.BOOLEAN.YES,
347-
groupBy: CONST.SEARCH.GROUP_BY.FROM,
348346
}),
349347
get hash() {
350348
return buildSearchQueryJSON(this.searchQuery)?.hash ?? CONST.DEFAULT_NUMBER_ID;
@@ -359,7 +357,6 @@ function getSuggestedSearches(defaultFeedID: string | undefined, accountID: numb
359357
type: CONST.SEARCH.DATA_TYPES.EXPENSE,
360358
feed: defaultFeedID ? [defaultFeedID] : [''],
361359
status: [CONST.SEARCH.STATUS.EXPENSE.DRAFTS, CONST.SEARCH.STATUS.EXPENSE.OUTSTANDING],
362-
groupBy: CONST.SEARCH.GROUP_BY.CARD,
363360
}),
364361
get hash() {
365362
return buildSearchQueryJSON(this.searchQuery)?.hash ?? CONST.DEFAULT_NUMBER_ID;

0 commit comments

Comments
 (0)