Use the initialisation date for the cumulative dossiers

We want to show when dossiers were published, not
created
This commit is contained in:
gregoirenovel 2017-04-26 14:29:22 +02:00
parent 06714b5fc3
commit 02a8cf3fe1

View file

@ -8,7 +8,7 @@ class StatsController < ApplicationController
@dossiers_30_days_flow = thirty_days_flow_hash(dossiers, :initiated_at)
@procedures_cumulative = cumulative_hash(procedures)
@dossiers_cumulative = cumulative_hash(dossiers)
@dossiers_cumulative = cumulative_hash(dossiers, :initiated_at)
@procedures_count = procedures.count
@dossiers_count = dossiers.count