aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/report
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/report')
-rw-r--r--web/app/view/report/ReportController.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/view/report/ReportController.js b/web/app/view/report/ReportController.js
index 5c6578681..81da6fb83 100644
--- a/web/app/view/report/ReportController.js
+++ b/web/app/view/report/ReportController.js
@@ -19,8 +19,8 @@ Ext.define('Traccar.view.report.ReportController', {
alias: 'controller.report',
onShowClick: function() {
-
var deviceId = this.lookupReference('deviceField').getValue();
+
var fromDate = this.lookupReference('fromDateField').getValue();
var fromTime = this.lookupReference('fromTimeField').getValue();
@@ -46,6 +46,7 @@ Ext.define('Traccar.view.report.ReportController', {
},
onClearClick: function() {
+ Ext.getStore('Positions').removeAll();
}
});