Skip to content

Commit

Permalink
Ensure inner filtering scopes back to unpadded range
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry350 committed Jun 16, 2020
1 parent 902bd37 commit 8cae6b6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ const getGroupedESQuery = (
filtered_results: {
filter: {
bool: {
must: mustFilters,
// Scope the inner filtering back to the unpadded range
must: [rangeFilter, ...mustFilters],
},
},
},
Expand Down

0 comments on commit 8cae6b6

Please sign in to comment.