FrancisG-Massey / Capstone2016

4 stars 0 forks source link

Catch-report-simple contains incorrect trap numbers #211

Closed MrMJLee closed 7 years ago

MrMJLee commented 7 years ago

Returns data correctly but contains some trap numbers that the selected trapline do not have.

sam-hunt commented 7 years ago

The report is returning the trap id instead of the trap number in the report source, line 16:

https://github.com/FrancisG-Massey/Capstone2016/blob/api-dev/ProjectNest-API/web/WEB-INF/datasets/catch-report-simple.json

I'll fix this tonight :+1:

sam-hunt commented 7 years ago

Since this is a report/summary of the data, we don't care about the internal trap id. It makes more sense to have the number.