aboutsummaryrefslogtreecommitdiff
path: root/web/app/AttributeFormatter.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-13 20:36:46 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-13 20:36:46 +0500
commit82c2d713d4da71f8eeef3e134b06dbb0abf37633 (patch)
treecd9ae5e6e49073ae756220a5159e7e2b9207428a /web/app/AttributeFormatter.js
parentb47795087d138ccd6d9634aadcfd29cbca629218 (diff)
downloadtrackermap-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.tar.gz
trackermap-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.tar.bz2
trackermap-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.zip
- Split distance to distance and total distance
- Switch summary report to total distance - Move DistanceHandler after filters in pipeline - Other accompanying changes
Diffstat (limited to 'web/app/AttributeFormatter.js')
-rw-r--r--web/app/AttributeFormatter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js
index 274b8d028..dcf50c580 100644
--- a/web/app/AttributeFormatter.js
+++ b/web/app/AttributeFormatter.js
@@ -61,7 +61,7 @@ Ext.define('Traccar.AttributeFormatter', {
return this.speedFormatter;
} else if (key === 'course') {
return this.courseFormatter;
- } else if (key === 'distance' || key === 'odometer') {
+ } else if (key === 'distance' || key === 'odometer' || key === 'totalDistance') {
return this.distanceFormatter;
} else if (key === 'hours') {
return this.hoursFormatter;