aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/storage/query/Order.java2
1 files changed, 1 insertions, 1 deletions
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;
}