Cachet/app/Repositories
Mike Willbanks 4e2c6bce0d Metrics: Calculation set to average always sums
This commit is two part:

1. getActiveValueAttribute should always return the active attribute
without providing an average since the active is the current value.
2. The query to create the average was incorrect and was taking the
count value * the value which we are really looking for the average of
the value.
2016-12-07 15:59:01 -06:00
..