From f172534b289f6e197eefad8274541dd9b1993157 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 23 Aug 2015 18:29:05 +1200 Subject: Sort positions for report --- web/app/view/map/MapController.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'web') 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 = {}; -- cgit v1.2.3