Support for old UI & Computed attributes missing from Reports

MilosR4 years ago

Dear developers of Traccar,

First of all I must say that I am amazed with your product. This is great product, with a lot of possibilities and use cases. Thank you for providing this piece of software to the Open Source community, it's a great work.

I encountered one problem. When I create computed attr. and assign it to device or group, it appears under device list and it is displayed correctly. However, I do not have an option to display column in Route reports. It simply does not appear if I want to add another field to grid.

I see that my computed attribute appears in response from server (/api/reports/route) and it is inside "attributes" object.

I find the problem inside ReportController.js, it doesn't take ComputedAttributes store into account. I can make pull request, but I am not sure are you planning to still support old/current UI (Ext Js)?

Anton Tananaev4 years ago

As long as you use a standard attribute, it should be possible to display in the route report.