WellDone / strato-old

Strato web portal - device management, configuration, and data visualization for MoMo mobile monitors
MIT License
2 stars 2 forks source link

Support ordering in REM, fix data visualization bug #78

Closed amcgee closed 10 years ago

amcgee commented 10 years ago

Resources can be requested with the ?order=[-]<column> syntax. So, for instance:

The manage/monitor page now requests the list of reports with ?order=timestamp so that it is guaranteed to receive the reports in the correct order - when received out of order there were issues with D3 visualization.

Internally, rem-sql translates an ordering parameter into the SQL postfix: ORDER BY <column> (ASC | DESC)

amcgee commented 10 years ago

Fixes #65

amcgee commented 10 years ago

Re-opening against Dev