diff options
author | DocNielsen <docnielsen@gmail.com> | 2012-11-01 13:28:35 +0100 |
---|---|---|
committer | DocNielsen <docnielsen@gmail.com> | 2012-11-01 13:28:35 +0100 |
commit | c8368a9854d79f8358f9b071c98ba72c972bc78d (patch) | |
tree | bf52d2291716edc78b6b37fa16005299bd65b06e | |
parent | f168056e4b5d6e04523d05acfec4c526d309c260 (diff) | |
download | traccar-server-c8368a9854d79f8358f9b071c98ba72c972bc78d.tar.gz traccar-server-c8368a9854d79f8358f9b071c98ba72c972bc78d.tar.bz2 traccar-server-c8368a9854d79f8358f9b071c98ba72c972bc78d.zip |
Update setup/linux/linux.cfg
get positions from sql with the newest on top.
-rw-r--r-- | setup/linux/linux.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setup/linux/linux.cfg b/setup/linux/linux.cfg index 63d6be2ef..b11fc209b 100644 --- a/setup/linux/linux.cfg +++ b/setup/linux/linux.cfg @@ -51,7 +51,8 @@ <--> <entry key="database.deleteDevice"> DELETE FROM devices - WHERE id = :id; + WHERE id = :id + ORDER by time DESC; </entry> <!--> |