aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/storage
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-01-11 16:37:43 -0800
committerAnton Tananaev <anton@traccar.org>2023-01-11 16:37:43 -0800
commitec13d084baa823da3a520bc1a69178e58138abe3 (patch)
treea67e2577f2ce10a20b85f4ef22aac0a75bcdcdc9 /src/main/java/org/traccar/storage
parent1fd8b0db0586754e13b0c87457fd717f74effafe (diff)
downloadtrackermap-server-ec13d084baa823da3a520bc1a69178e58138abe3.tar.gz
trackermap-server-ec13d084baa823da3a520bc1a69178e58138abe3.tar.bz2
trackermap-server-ec13d084baa823da3a520bc1a69178e58138abe3.zip
Fix SQL query
Diffstat (limited to 'src/main/java/org/traccar/storage')
-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;
}