Fix the analytics

This commit is contained in:
Clément Renault 2023-06-28 15:43:38 +02:00
parent efbe7ce78b
commit 3e3f73ba1e
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -969,8 +969,11 @@ impl FacetSearchAggregator {
ret.user_agents = extract_user_agents(request).into_iter().collect();
ret.facet_names = Some(facet_name.clone()).into_iter().collect();
ret.additional_search_parameters_provided =
q.is_some() || filter.is_some() || *matching_strategy != MatchingStrategy::default();
ret.additional_search_parameters_provided = q.is_some()
|| vector.is_some()
|| filter.is_some()
|| *matching_strategy != MatchingStrategy::default()
|| attributes_to_search_on.is_some();
ret
}