Skip to content

ddt/reports charts: fix wrong emissions/distances

Jérôme Mariette requested to merge add-scenario into add-scenario-test

The previous implementation leads to wrong distance/emissions sums in the reports table (There's actually 12 travelsMode instead of the initial 11 hardcoded value).

So we make sure nbAnswers status is incremented only once per answer about commutes.

Merge request reports