Skip to content

Commit

Permalink
[Metrics UI] Fix alerting when a filter query is present
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacqary committed Apr 27, 2020
1 parent 4d3e60b commit bfaf980
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ export const getElasticsearchMetricQuery = (
return {
query: {
bool: {
filter: [...rangeFilters, ...metricFieldFilters],
...parsedFilterQuery,
filter: [...rangeFilters, ...metricFieldFilters, parsedFilterQuery],
},
},
size: 0,
Expand Down

0 comments on commit bfaf980

Please sign in to comment.