From 8efeb406fd43a3ee80b9a9dff4c7d0a09d448e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Tue, 23 Jun 2015 21:24:40 +0200 Subject: [PATCH] Adding more deterministic timeline ordering, by time and id --- taiga/timeline/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taiga/timeline/service.py b/taiga/timeline/service.py index 6fde769c..28327297 100644 --- a/taiga/timeline/service.py +++ b/taiga/timeline/service.py @@ -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