[Fix #146] Use published_at for procedures in Stats
Instead of created_at, which is less representative
This commit is contained in:
parent
1c1a47d83a
commit
20b4c7ce6f
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ class StatsController < ApplicationController
|
|||
@procedures_count = procedures.count
|
||||
@dossiers_count = dossiers.count
|
||||
|
||||
@procedures_cumulative = cumulative_hash(procedures)
|
||||
@procedures_in_the_last_4_months = last_four_months_hash(procedures)
|
||||
@procedures_cumulative = cumulative_hash(procedures, :published_at)
|
||||
@procedures_in_the_last_4_months = last_four_months_hash(procedures, :published_at)
|
||||
|
||||
@dossiers_cumulative = cumulative_hash(dossiers, :initiated_at)
|
||||
@dossiers_in_the_last_4_months = last_four_months_hash(dossiers, :initiated_at)
|
||||
|
|
Loading…
Reference in a new issue