aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-23 18:29:05 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-23 18:29:05 +1200
commitf172534b289f6e197eefad8274541dd9b1993157 (patch)
tree2ff27d7e8b03ebebaac04d6fd0f92985035c06f5 /web
parent7e7f91ed31bd21b00d5380afe6d75ed45ed0b0fb (diff)
downloadtraccar-server-f172534b289f6e197eefad8274541dd9b1993157.tar.gz
traccar-server-f172534b289f6e197eefad8274541dd9b1993157.tar.bz2
traccar-server-f172534b289f6e197eefad8274541dd9b1993157.zip
Sort positions for report
Diffstat (limited to 'web')
-rw-r--r--web/app/view/map/MapController.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/app/view/map/MapController.js b/web/app/view/map/MapController.js
index 98922a307..0aab71725 100644
--- a/web/app/view/map/MapController.js
+++ b/web/app/view/map/MapController.js
@@ -128,9 +128,8 @@ Ext.define('Traccar.view.map.MapController', {
var vectorSource = this.getView().vectorSource;
- var data = Ext.getStore('Positions').getData().clone();
- data.sort('fixTime');
-
+ var data = Ext.getStore('Positions').getData();
+
var index;
var positions = [];
this.reportRoutePoints = {};