mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
parent
86ebcb6938
commit
35970c512a
1 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
import chrome from 'ui/chrome';
|
||||
|
||||
let i = 0;
|
||||
|
||||
// eslint-disable-next-line kibana-custom/no-default-export
|
||||
|
@ -36,7 +38,12 @@ AggConfigResult.prototype.createFilter = function () {
|
|||
};
|
||||
|
||||
AggConfigResult.prototype.toString = function (contentType) {
|
||||
return this.aggConfig.fieldFormatter(contentType)(this.value);
|
||||
const parsedUrl = {
|
||||
origin: window.location.origin,
|
||||
pathname: window.location.pathname,
|
||||
basePath: chrome.getBasePath(),
|
||||
};
|
||||
return this.aggConfig.fieldFormatter(contentType)(this.value, null, null, parsedUrl);
|
||||
};
|
||||
|
||||
AggConfigResult.prototype.valueOf = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue