Skip to content

Commit

Permalink
do not apply search source data for tsvb
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Aug 17, 2020
1 parent a9860f3 commit 50bf1c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/visualizations/public/legacy/build_pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ export const buildPipeline = async (
}
) => {
const { indexPattern, searchSource } = vis.data;
const query = searchSource!.getField('query');
const filters = searchSource!.getField('filter');
const query = vis.type.name !== 'metrics' && searchSource!.getField('query');
const filters = vis.type.name !== 'metrics' && searchSource!.getField('filter');
const { uiState, title } = vis;

// context
Expand Down

0 comments on commit 50bf1c2

Please sign in to comment.