Skip to content

Commit

Permalink
trending.py wasn't using "year" trends which were needed by my update…
Browse files Browse the repository at this point in the history
…d templates.
  • Loading branch information
rossp committed Jan 21, 2011
1 parent 52cfaca commit a57ab4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_metrics/trending.py
Expand Up @@ -24,7 +24,7 @@ def trending_for_metric(metric=None, date=None):
data['yesterday'] = _trending_for_yesterday(metric)
data['week'] = _trending_for_week(metric)
data['month'] = _trending_for_month(metric)
data['year'] = _trending_for_month(metric)
data['year'] = _trending_for_year(metric)

return data

Expand Down

0 comments on commit a57ab4a

Please sign in to comment.