Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripted fields in index pattern #1982

Merged
merged 13 commits into from
Nov 20, 2014
Prev Previous commit
Next Next commit
add scriptable property to field aggs
  • Loading branch information
w33ble committed Nov 18, 2014
commit 9246304904439cc73417727b3d5024d2d16dbb39
3 changes: 2 additions & 1 deletion src/kibana/components/agg_types/buckets/terms.js
Original file line number Diff line number Diff line change
@@ -13,7 +13,8 @@ define(function (require) {
},
params: [
{
name: 'field'
name: 'field',
scriptable: true
},
{
name: 'size',
1 change: 1 addition & 0 deletions src/kibana/components/agg_types/param_types/field.js
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ define(function (require) {
}

FieldAggParam.prototype.editor = editorHtml;
FieldAggParam.prototype.scriptable = false;
FieldAggParam.prototype.filterFieldTypes = '*';

/**