[indexPattern/edit] invert the "retreived" column, for accuracy

This commit is contained in:
spalger 2016-01-21 09:24:44 -07:00 committed by Stéphane Campinas
parent 5b0b00adfb
commit 1dee6f173f
2 changed files with 4 additions and 5 deletions

View file

@ -25,7 +25,7 @@ uiModules.get('apps/settings')
{ title: 'format' },
{ title: 'analyzed', info: 'Analyzed fields may require extra memory to visualize' },
{ title: 'indexed', info: 'Fields that are not indexed are unavailable for search' },
{ title: 'retrieved', info: 'Fields that are not retrieved as part of the _source object per hit' },
{ title: 'exclude', info: 'Fields that are not excluded from _source when _source is fetched' },
{ title: 'controls', sortable: false }
];
@ -35,7 +35,6 @@ uiModules.get('apps/settings')
// clear and destroy row scopes
_.invoke(rowScopes.splice(0), '$destroy');
<<<<<<< HEAD
const metaFields = config.get('metaFields');
const sourceFiltering = $scope.indexPattern.getSourceFiltering();
const fields = filter($scope.indexPattern.getNonScriptedFields(), $scope.fieldFilter);
@ -66,8 +65,8 @@ uiModules.get('apps/settings')
value: field.indexed
},
{
markup: !field.exclude ? yesTemplate : noTemplate,
value: !field.exclude
markup: field.exclude ? yesTemplate : noTemplate,
value: field.exclude
},
{
markup: controlsHtml,

View file

@ -51,7 +51,7 @@ import {
'format',
'analyzed',
'indexed',
'retrieved',
'exclude',
'controls'
];