mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 16:06:31 +00:00 
			
		
		
		
	Also reset the sortFacetValuesBy when reseting the faceting settings
This commit is contained in:
		
				
					committed by
					
						 Clément Renault
						Clément Renault
					
				
			
			
				
	
			
			
			
						parent
						
							b132e859f7
						
					
				
				
					commit
					eed9176e0c
				
			| @@ -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 => (), | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user