Skip to content

Commit a159fbd

Browse files
committed
fix
1 parent cfdf138 commit a159fbd

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

src/plugins/data/common/search/aggs/agg_config.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,6 @@ describe('AggConfig', () => {
557557
"id": undefined,
558558
"missingBucketLabel": "Missing",
559559
"otherBucketLabel": "Other",
560-
"params": Object {},
561560
},
562561
},
563562
]

src/plugins/data/common/search/aggs/buckets/terms.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,9 @@ export const getTermsBucketAgg = () =>
7878
return {
7979
id: 'terms',
8080
params: {
81-
id: format.id,
81+
...format,
8282
otherBucketLabel: agg.params.otherBucketLabel,
8383
missingBucketLabel: agg.params.missingBucketLabel,
84-
params: {
85-
...format.params,
86-
},
8784
},
8885
};
8986
},

src/plugins/data/common/search/tabify/response_writer.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ describe('TabbedAggResponseWriter class', () => {
164164
params: {
165165
missingBucketLabel: 'Missing',
166166
otherBucketLabel: 'Other',
167-
params: {},
168167
},
169168
},
170169
field: 'geo.src',
@@ -231,7 +230,6 @@ describe('TabbedAggResponseWriter class', () => {
231230
params: {
232231
missingBucketLabel: 'Missing',
233232
otherBucketLabel: 'Other',
234-
params: {},
235233
},
236234
},
237235
field: 'geo.src',

0 commit comments

Comments
 (0)