FOSElasticaBundle icon indicating copy to clipboard operation
FOSElasticaBundle copied to clipboard

\Elastica\Aggregation\Filter incorrect conversion to array

Open mihas2 opened this issue 4 years ago • 0 comments

in method \Elastica\Aggregation\Filter::toArray invalid conversion. Other keys are ignored such as parameters and meta I think it must be something like this

        $array = parent::toArray();
        $array['filter'] = $this->getParam('filter')->toArray();

mihas2 avatar Sep 22 '21 10:09 mihas2