Skip to content

Commit

Permalink
Turns out we've been recording time_spent_count wrong, forever
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Apr 16, 2012
1 parent ca840a0 commit 1a00b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry/models.py
Expand Up @@ -204,7 +204,7 @@ def merge_to(self, project):
obj2.update( obj2.update(
times_seen=F('times_seen') + obj.times_seen, times_seen=F('times_seen') + obj.times_seen,
time_spent_total=F('time_spent_total') + obj.time_spent_total, time_spent_total=F('time_spent_total') + obj.time_spent_total,
time_spent_count=F('times_seen') + obj.time_spent_count, time_spent_count=F('time_spent_count') + obj.time_spent_count,
) )


for fv in FilterValue.objects.filter(project=self): for fv in FilterValue.objects.filter(project=self):
Expand Down

0 comments on commit 1a00b33

Please sign in to comment.