mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-11 15:38:55 +01: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