Show tooltip when mixing string and integer fields for joining region maps to ES results (#19447)
This commit is contained in:
parent
bc5f05ef2f
commit
9b796133c1
|
@ -219,7 +219,7 @@ CORS configuration of the server permits requests from the Kibana application on
|
|||
return '';
|
||||
}
|
||||
const match = this._metrics.find((bucket) => {
|
||||
return bucket.term === geojsonFeature.properties[this._joinField];
|
||||
return compareLexographically(bucket.term, geojsonFeature.properties[this._joinField]) === 0;
|
||||
});
|
||||
return tooltipFormatter(metricsAgg, match, fieldName);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue