mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Backport PR #8500
--------- **Commit 1:** Update expected table headers to fix functional test * Original sha:f65c9b595b
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-09-26T12:40:41Z **Commit 2:** [indexPatterns] add workaround for elastic/elasticsearch#20707 * Original sha:22c6f7c55c
* Authored by spalger <email@spalger.com> on 2016-09-30T10:21:07Z
This commit is contained in:
parent
51daa6ee3c
commit
203353d699
2 changed files with 10 additions and 1 deletions
|
@ -9,6 +9,14 @@ export default function ($http) {
|
|||
const stats = _.get(res, 'data.fields', {});
|
||||
|
||||
return _.map(fields, (field) => {
|
||||
if (field.type === 'geo_point' && !stats[field.name]) {
|
||||
// FIXME: remove once https://github.com/elastic/elasticsearch/issues/20707 is fixed
|
||||
return _.assign(field, {
|
||||
'searchable': true,
|
||||
'aggregatable': true
|
||||
});
|
||||
}
|
||||
|
||||
return _.assign(field, stats[field.name]);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -52,8 +52,9 @@ bdd.describe('creating and deleting default index', function describeIndexTests(
|
|||
'name',
|
||||
'type',
|
||||
'format',
|
||||
'searchable',
|
||||
'aggregatable',
|
||||
'analyzed',
|
||||
'indexed',
|
||||
'controls'
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue