mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
Also reset the sortFacetValuesBy when reseting the faceting settings
This commit is contained in:
parent
b132e859f7
commit
eed9176e0c
@ -417,7 +417,10 @@ pub fn apply_settings_to_builder(
|
|||||||
Setting::NotSet => (),
|
Setting::NotSet => (),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Setting::Reset => builder.reset_max_values_per_facet(),
|
Setting::Reset => {
|
||||||
|
builder.reset_max_values_per_facet();
|
||||||
|
builder.reset_sort_facet_values_by();
|
||||||
|
}
|
||||||
Setting::NotSet => (),
|
Setting::NotSet => (),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user