Skip to content

replace setQuery reference paramater by the complete request arguments '$this->args'

Proposal of a fix to update facets and their associated counts for version 3.3.6.16. This modification is quite likely to work on the latest version. My modification is at the level of the construction of the query through the "references" object.

$values = $references ->setMetadata([$fields[$facetField]]) ->setQuery($this->args) ->setOptions($optionsFacetRange) ->list();

Merge request reports