Need a special offer?Find out if your project fits.
+

'aggregations' property has no effect

Answered
Sergii Valko asked on July 29, 2020

Hello.
I'm trying to limit or in some cases disable aggregations at all. As the documentation says that 'availableAggregations' is deprecated I tried to use 'aggregations' but unfortunately, it does not work. Also, I tried to disable aggeration by 'aggregations' : ['none'] - again does not work. Here is the JSFiddle example. What I'm doing wrong?
Thank you in advance.

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster July 29, 2020

Hello,
 
Thank you for contacting us.
 
Our team would like to explain that available aggregations should be specified within the mapping object instead of the meta-object of the JSON array.
 
We have modified your example so that it demonstrates the usage of the mapping object in order to achieve the desired result.
 
Detailed information about the mapping object and its properties can be found in our documentation.
 
Please let us know if it works for your case.
Do not hesitate to contact us in case any additional questions occur.
 
Kind regard,
Illia

Please login or Register to Submit Answer