diff options
-rw-r--r-- | quarg/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quarg/main.py b/quarg/main.py index 5ba6e3d..9fde869 100644 --- a/quarg/main.py +++ b/quarg/main.py @@ -102,9 +102,9 @@ def prepare_query(session, predicates, args): for predicate in predicates: query = query.filter(predicate) - order = Backlog.time.asc() + order = Backlog.messageid.asc() if args.order == 'desc': - order = Backlog.time.desc() + order = Backlog.messageid.desc() query = query.order_by(order) |