mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
(cherry picked from commit a4797ee433
)
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
This commit is contained in:
parent
488b8db94c
commit
fa18d6ab40
1 changed files with 3 additions and 1 deletions
|
@ -84,7 +84,9 @@ export const SubChart: React.FC<SubChartProps> = ({
|
|||
},
|
||||
query: {
|
||||
...query,
|
||||
kuery: `${getFieldNameForTopNType(path.topNType)}:"${category}"`,
|
||||
kuery: `${query.kuery ? `(${query.kuery}) AND ` : ''}${getFieldNameForTopNType(
|
||||
path.topNType
|
||||
)}:"${category}"`,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue