Also reset the sortFacetValuesBy when reseting the faceting settings

This commit is contained in:
Kerollmops
2023-06-26 13:10:36 +02:00
committed by Clément Renault
parent b132e859f7
commit eed9176e0c

View File

@ -417,7 +417,10 @@ pub fn apply_settings_to_builder(
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 => (),
}