FrancisG-Massey / Capstone2016

4 stars 0 forks source link

Catch dataset returns incorrect trap numbers #212

Closed sam-hunt closed 7 years ago

sam-hunt commented 7 years ago

Same problem as issue #211, however different place and usage. catch dataset, line 17, should be t.trap_number:

https://github.com/FrancisG-Massey/Capstone2016/blob/master/ProjectNest-API/web/WEB-INF/datasets/catch.json

sam-hunt commented 7 years ago

As the catch dataset should be used in dynamic pages which link to the related entities, it's important that we keep the internal ids so that the page can use them in query parameters for GET requests etc.

I've added the trap number for convenience though so we can display these without doing a sequential API call GET /trapjust to view these.