Skip to content

Commit 3e457b6

Browse files
authored
chore(search): Remove useGroupSnubaDataset from frontend (#95585)
FE counterpart to #95586
1 parent 7f3a081 commit 3e457b6

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

static/app/views/issueList/overview.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ interface EndpointParams extends Partial<PageFilters['datetime']> {
9898
query?: string;
9999
sort?: string;
100100
statsPeriod?: string | null;
101-
useGroupSnubaDataset?: boolean;
102101
}
103102

104103
type CountsEndpointParams = Omit<EndpointParams, 'cursor' | 'page' | 'query'> & {
@@ -310,13 +309,9 @@ function IssueListOverview({
310309
params.groupStatsPeriod = groupStatsPeriod;
311310
}
312311

313-
if (location.query.useGroupSnubaDataset) {
314-
params.useGroupSnubaDataset = true;
315-
}
316-
317312
// only include defined values.
318313
return pickBy(params, v => defined(v)) as EndpointParams;
319-
}, [selection, location, query, sort, getGroupStatsPeriod]);
314+
}, [selection, query, sort, getGroupStatsPeriod]);
320315

321316
const requestParams = useMemo(() => {
322317
// Used for Issue Stream Performance project, enabled means we are doing saved search look up in the backend

static/app/views/issueList/queries/useFetchIssueCounts.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ interface FetchIssueCountsParameters {
1111
sort?: string;
1212
start?: string | null;
1313
statsPeriod?: string | null;
14-
useGroupSnubaDataset?: boolean;
1514
}
1615

1716
const makeFetchIssueCounts = ({

0 commit comments

Comments
 (0)