mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	add ranking_rules marker before sort_position
This commit is contained in:
		
				
					committed by
					
						 marin postma
						marin postma
					
				
			
			
				
	
			
			
			
						parent
						
							efd0ea9e1e
						
					
				
				
					commit
					68fe93b7db
				
			| @@ -192,7 +192,9 @@ make_setting_route!( | |||||||
|         analytics.publish( |         analytics.publish( | ||||||
|             "RankingRules Updated".to_string(), |             "RankingRules Updated".to_string(), | ||||||
|             json!({ |             json!({ | ||||||
|                 "sort_position": setting.as_ref().map(|sort| sort.iter().position(|s| s == "sort")), |                 "ranking_rules": { | ||||||
|  |                     "sort_position": setting.as_ref().map(|sort| sort.iter().position(|s| s == "sort")), | ||||||
|  |                 } | ||||||
|             }), |             }), | ||||||
|             Some(req), |             Some(req), | ||||||
|         ); |         ); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user