Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions src/kibana/plugins/settings/sections/indices/_indexed_fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,13 @@ define(function (require) {
var rowScopes = []; // track row scopes, so they can be destroyed as needed
$scope.perPage = 25;

$scope.columns = [{
title: 'name'
}, {
title: 'type'
}, {
title: 'analyzed',
info: 'Analyzed fields may require extra memory to visualize'
}, {
title: 'indexed',
info: 'Fields that are not indexed are unavailable for search'
}, {
title: 'popularity',
info: 'A gauge of how often this field is used',
}];
$scope.columns = [
{ title: 'name' },
{ title: 'type' },
{ title: 'analyzed', info: 'Analyzed fields may require extra memory to visualize' },
{ title: 'indexed', info: 'Fields that are not indexed are unavailable for search' },
{ title: 'popularity', info: 'A gauge of how often this field is used' }
];

$scope.$watchCollection('indexPattern.fields', function () {
_.invoke(rowScopes, '$destroy');
Expand Down
19 changes: 7 additions & 12 deletions src/kibana/plugins/settings/sections/indices/_scripted_fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,13 @@ define(function (require) {

$scope.perPage = 25;

$scope.columns = [{
title: 'name'
}, {
title: 'script'
}, {
title: 'type'
}, {
title: 'popularity'
}, {
title: 'controls',
sortable: false
}];
$scope.columns = [
{ title: 'name' },
{ title: 'script' },
{ title: 'type' },
{ title: 'popularity', info: 'A gauge of how often this field is used' },
{ title: 'controls', sortable: false }
];

$scope.$watch('indexPattern.fields', function () {
_.invoke(rowScopes, '$destroy');
Expand Down