Skip to content

Commit

Permalink
fix(alerts): Add date period to tags query
Browse files Browse the repository at this point in the history
  • Loading branch information
NisanthanNanthakumar committed Nov 22, 2023
1 parent dcd8f4f commit f6ebf64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/app/actionCreators/tags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ export function fetchOrganizationTags(
TagStore.reset();

const url = `/organizations/${orgId}/tags/`;
const query: Query = {use_cache: '1'};
// Default fetching the last 7 days of tags
const query: Query = {use_cache: '1', statsPeriod: '7d'};
if (projectIds) {
query.project = projectIds;
}
Expand Down

0 comments on commit f6ebf64

Please sign in to comment.