Répare le fichier csv des stats accessible en super admin

This commit is contained in:
LeSim 2021-12-10 16:52:02 +01:00 committed by GitHub
commit 6cdb694a14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,9 +57,9 @@ class StatsController < ApplicationController
"procedures.libelle",
"users.id",
"dossiers.state",
"dossiers.depose_at - dossiers.created_at",
"dossiers.en_instruction_at - dossiers.depose_at",
"dossiers.processed_at - dossiers.en_instruction_at"
Arel.sql("dossiers.depose_at - dossiers.created_at"),
Arel.sql("dossiers.en_instruction_at - dossiers.depose_at"),
Arel.sql("dossiers.processed_at - dossiers.en_instruction_at")
)
end