Use the initialisation date for the dossiers 30 days flow
We want to show when dossiers were published, not created
This commit is contained in:
parent
c7999b9691
commit
dbf891b333
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class StatsController < ApplicationController
|
|||
dossiers = Dossier.where.not(:state => :draft)
|
||||
|
||||
@procedures_30_days_flow = thirty_days_flow_hash(procedures)
|
||||
@dossiers_30_days_flow = thirty_days_flow_hash(dossiers)
|
||||
@dossiers_30_days_flow = thirty_days_flow_hash(dossiers, :initiated_at)
|
||||
|
||||
@procedures_cumulative = cumulative_hash(procedures)
|
||||
@dossiers_cumulative = cumulative_hash(dossiers)
|
||||
|
|
Loading…
Reference in a new issue