Skip to content

Conversation

@AramAlsabti
Copy link
Contributor

When data is retrieved from the database, we get a row per device per package received. Typeorm removes duplicate IoT device rows, thus resulting in less rows on the frontend as expected.
This is fixed by joining the table with the latest received metadata' instead of the one with all metadata.

This will fix OS2iot/OS2iot-frontend#46

@GufCab GufCab merged commit ba70c7f into master Nov 12, 2021
@ramogens-OS2 ramogens-OS2 deleted the issue/46_sorting-functions-shortens-list branch December 17, 2021 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sorting function shortens list

3 participants