Fix issue w/ tags #3
This commit is contained in:
parent
846176131e
commit
678377c234
|
|
@ -41,6 +41,9 @@ class CustomFacetedSearchFilterBackend(FacetedSearchFilterBackend):
|
|||
filterer, qs.query._proxied._params[param_type]
|
||||
)
|
||||
)
|
||||
if not len(qs.query._proxied._params['should']) \
|
||||
and qs.query._proxied._params.get('minimum_should_match'):
|
||||
qs.query._proxied._params.pop('minimum_should_match')
|
||||
facet_name = '_filter_' + __field
|
||||
qs.aggs.bucket(
|
||||
facet_name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user