Adding more deterministic timeline ordering, by time and id

remotes/origin/enhancement/email-actions
Jesús Espino 2015-06-23 21:24:40 +02:00
parent 67bf755771
commit 8efeb406fd
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def get_timeline(obj, namespace=None):
if namespace is not None:
timeline = timeline.filter(namespace=namespace)
timeline = timeline.order_by("-created")
timeline = timeline.order_by("-created", "-id")
return timeline