Merge pull request #5590 from Flaburgan/fix-monthly-halfyear-active-users-count
Fix monthly and halfyear active users count
This commit is contained in:
commit
928080176a
1 changed files with 3 additions and 3 deletions
|
|
@ -55,11 +55,11 @@ class StatisticsPresenter
|
||||||
end
|
end
|
||||||
|
|
||||||
def monthly_users
|
def monthly_users
|
||||||
@monthly_users ||= User.halfyear_actives.count
|
@monthly_users ||= User.monthly_actives.count
|
||||||
end
|
end
|
||||||
|
|
||||||
def halfyear_users
|
def halfyear_users
|
||||||
@halfyear_users ||= User.monthly_actives.count
|
@halfyear_users ||= User.halfyear_actives.count
|
||||||
end
|
end
|
||||||
|
|
||||||
def post_counts
|
def post_counts
|
||||||
|
|
@ -122,4 +122,4 @@ class StatisticsPresenter
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue