Skip to content

Commit afcaa34

Browse files
author
Tim Roes
committed
Forbid nested fields in TSVB
1 parent 0fa0fc3 commit afcaa34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/legacy/core_plugins/vis_type_timeseries/server/lib

src/legacy/core_plugins/vis_type_timeseries/server/lib/get_fields.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export async function getFields(req) {
3030

3131
const fields = (
3232
await searchStrategy.getFieldsForWildcard(req, indexPatternString, capabilities)
33-
).filter(field => field.aggregatable);
33+
).filter(field => field.aggregatable && !field.subType?.nested);
3434

3535
return uniq(fields, field => field.name);
3636
}

0 commit comments

Comments
 (0)