From ec13d084baa823da3a520bc1a69178e58138abe3 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 11 Jan 2023 16:37:43 -0800 Subject: Fix SQL query --- src/main/java/org/traccar/storage/query/Order.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/traccar') diff --git a/src/main/java/org/traccar/storage/query/Order.java b/src/main/java/org/traccar/storage/query/Order.java index b41f145e9..f10970381 100644 --- a/src/main/java/org/traccar/storage/query/Order.java +++ b/src/main/java/org/traccar/storage/query/Order.java @@ -27,7 +27,7 @@ public class Order { public Order(String column, boolean descending, int limit) { this.column = column; - this.descending = false; + this.descending = descending; this.limit = limit; } -- cgit v1.2.3