Skip to content

A platform for community discussion. Free, open, simple.

FIX: Bug with admin trust level growth report (#19050)

Penar Musaraj5ee3e2932f4d
diff --git a/app/models/concerns/reports/trust_level_growth.rb b/app/models/concerns/reports/trust_level_growth.rb
index 4171f947a54..0071b579ff1 100644
--- a/app/models/concerns/reports/trust_level_growth.rb
+++ b/app/models/concerns/reports/trust_level_growth.rb
@@ -39,6 +39,7 @@ module Reports::TrustLevelGrowth
OR action = #{UserHistory.actions[:auto_trust_level_change]}
)
GROUP BY date(created_at)
+ ORDER BY date(created_at)
SQL
data = Hash[ filters.collect { |x| [x, []] } ]