fixing dashboard widgets with built-in queries containing aggregations.
This commit is contained in:
parent
623c9ab663
commit
f3b1c7e283
|
@ -124,7 +124,7 @@ describe('DashboardWidgetComponent', () => {
|
||||||
"where": {},
|
"where": {},
|
||||||
|
|
||||||
"aggregations":{
|
"aggregations":{
|
||||||
"count_by": "source_resource_type"
|
"count_by": {"field": "source_resource_type"}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -138,7 +138,7 @@ describe('DashboardWidgetComponent', () => {
|
||||||
"where": {},
|
"where": {},
|
||||||
|
|
||||||
"aggregations":{
|
"aggregations":{
|
||||||
"count_by": "source_resource_type"
|
"count_by": {"field": "source_resource_type"}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
Loading…
Reference in New Issue