Commit b2c4b7a4 authored by ruloweb's avatar ruloweb Committed by borisson_
Browse files

Issue #2843984 by ruloweb: Allow dynamic hard facet limit, operator and...

Issue #2843984 by ruloweb: Allow dynamic hard facet limit, operator and min_count for QueryRangeBase facets
parent f1699142
......@@ -24,9 +24,9 @@ abstract class QueryTypeRangeBase extends QueryTypePluginBase {
$exclude = $this->facet->getExclude();
$options['search_api_facets'][$field_identifier] = [
'field' => $field_identifier,
'limit' => 50,
'operator' => 'and',
'min_count' => 0,
'limit' => $this->facet->getHardLimit(),
'operator' => $this->facet->getQueryOperator(),
'min_count' => $this->facet->getMinCount(),
'missing' => FALSE,
];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment