Greenstand / treetracker-admin-api

Legacy API microservice for the admin panel
GNU Affero General Public License v3.0
31 stars 81 forks source link

feat(grower-detail): display device manufacturer with device id #600

Closed gwynndp closed 2 years ago

gwynndp commented 2 years ago

Description

Add device manufacturer to the Planter Registration query

Please check if the PR fulfills these requirements

What kind of change does this PR introduce?

Issue

What is the current behavior?

Only returns info from the planter_registration table at the moment.

What is the new behavior?

Adds a join to the devices table to the query so that the device manufacturer info can be retreived.

Steps taken:

Breaking change

Does this PR introduce a breaking change?

Related PR & Issue

https://github.com/Greenstand/treetracker-admin-client/pull/196 https://github.com/Greenstand/treetracker-admin-api/issues/458

Growers - Treetracker Admin by Greenstand 2021-11-13 11-15-50