Skip to content

Commit

Permalink
fix(#1503): Count filter values when loading a dataset with a route q…
Browse files Browse the repository at this point in the history
…uery

fix #1503
This PR includes the route query filters for the filter counter calculation
  • Loading branch information
leiyre committed May 18, 2022
1 parent 20ee14a commit 8e2e72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/database/modules/datasets.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async function _loadTaskDataset(dataset) {
if (total === undefined || aggregations === undefined) {
const globalResults = await _querySearch({
dataset: _dataset,
query: {},
query: _dataset.query,
size: 0,
});

Expand Down

0 comments on commit 8e2e72a

Please sign in to comment.