add ranking_rules marker before sort_position
@@ -192,7 +192,9 @@ make_setting_route!(
analytics.publish(
"RankingRules Updated".to_string(),
json!({
+ "ranking_rules": {
"sort_position": setting.as_ref().map(|sort| sort.iter().position(|s| s == "sort")),
+ }
}),
Some(req),
);
