Skip to content

Commit

Permalink
[MD] Fix view single document issue by updating low-level search call…
Browse files Browse the repository at this point in the history
… param (opensearch-project#2431)

* Add datasource param to low-level search call in Discover
* update change log

Signed-off-by: Su <[email protected]>
Signed-off-by: Sergey V. Osipov <[email protected]>
  • Loading branch information
zhongnansu authored and sipopo committed Dec 16, 2022
1 parent 4d630c0 commit c9ecfd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
* [Vis Builder] Fixes auto bounds for timeseries bar chart visualization ([2401](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2401))
* [Vis Builder] Fixes visualization shift when editing agg ([2401](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2401))
* [Vis Builder] Renames "Histogram" to "Bar" in vis type picker ([2401](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2401))
* [MD] Add data source param to low-level search call in Discover ([#2431](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2431))

### 🚞 Infrastructure

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export function useOpenSearchDocSearch({

const { rawResponse } = await getServices()
.data.search.search({
dataSourceId: indexPatternEntity.dataSourceRef?.id,
params: {
index,
body: buildSearchBody(id, indexPatternEntity),
Expand Down

0 comments on commit c9ecfd9

Please sign in to comment.