Skip to content

Commit

Permalink
Not sure why this works, but it closes #96, at least.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgets committed Feb 3, 2019
1 parent 71b09ef commit 215252c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataview/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def dump_interval_graph_data(request, sub_id):
:return:
"""

usages = Usage.objects.filter(sub=sub_id, user=request.user)[:20]
usages = Usage.objects.filter(sub=sub_id, user=request.user).order_by("timestamp")

timespans = []
prev_time = None
Expand Down

0 comments on commit 215252c

Please sign in to comment.