aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-19 07:57:52 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-19 07:57:52 +0500
commitd00476f715a617fab3ef4f5cb5c4fff29c533f11 (patch)
treef4ae976ac6eaeeffd42931ad94fadb3f615b64bf /web/app/view
parent11826f4b3eac08ad4f52d8c3e6af2b8a0156daee (diff)
downloadtrackermap-web-d00476f715a617fab3ef4f5cb5c4fff29c533f11.tar.gz
trackermap-web-d00476f715a617fab3ef4f5cb5c4fff29c533f11.tar.bz2
trackermap-web-d00476f715a617fab3ef4f5cb5c4fff29c533f11.zip
Fix name and use getById
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/ReportController.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 85cdb686..775394d0 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -227,7 +227,7 @@ Ext.define('Traccar.view.ReportController', {
routeColumns: [{
text: Strings.reportDeviceName,
dataIndex: 'deviceId',
- renderer: Traccar.AttributeFormatter.getFormatter('deviceName')
+ renderer: Traccar.AttributeFormatter.getFormatter('deviceId')
}, {
text: Strings.positionValid,
dataIndex: 'valid',
@@ -267,7 +267,7 @@ Ext.define('Traccar.view.ReportController', {
}, {
text: Strings.reportDeviceName,
dataIndex: 'deviceId',
- renderer: Traccar.AttributeFormatter.getFormatter('deviceName')
+ renderer: Traccar.AttributeFormatter.getFormatter('deviceId')
}, {
text: Strings.sharedType,
dataIndex: 'type',
@@ -288,7 +288,7 @@ Ext.define('Traccar.view.ReportController', {
summaryColumns: [{
text: Strings.reportDeviceName,
dataIndex: 'deviceId',
- renderer: Traccar.AttributeFormatter.getFormatter('deviceName')
+ renderer: Traccar.AttributeFormatter.getFormatter('deviceId')
}, {
text: Strings.sharedDistance,
dataIndex: 'distance',
@@ -310,7 +310,7 @@ Ext.define('Traccar.view.ReportController', {
tripsColumns: [{
text: Strings.reportDeviceName,
dataIndex: 'deviceId',
- renderer: Traccar.AttributeFormatter.getFormatter('deviceName')
+ renderer: Traccar.AttributeFormatter.getFormatter('deviceId')
}, {
text: Strings.reportStartTime,
dataIndex: 'startTime',