Skip to content

Add fix for count filter in data series query

Created by: vovakulikov

Closes https://github.com/sourcegraph/sourcegraph/issues/21955

Adds fix for count filter in an insight search query for live preview chart.

Background

We're usually adding count: 9999 as the default filter to series query search-insight data for the live preview chart just to be sure we will collect and fetch all data that we have.

But if the user specified the count filter themself we should use the user value instead of the 9999 value. This PR adds a fix for it.

Important to note this fix only for the live preview chart of search-based insight creation UI. We have a separate PR that fixes that problem in search-based extension. https://github.com/sourcegraph/sourcegraph-search-insights/pull/9

Merge request reports

Loading