Sorted overviw raw data display
Former-commit-id: 61bec940fbcded38471094b106c73597d2d26368
This commit is contained in:
parent
5a4107f60f
commit
aefb0054a0
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ public class EventOverviewHttpPage extends HalHttpPage {
|
|||
Event event = Event.getEvent(db, id);
|
||||
|
||||
// get history data
|
||||
PreparedStatement stmt = db.getPreparedStatement("SELECT * FROM event_data_raw WHERE event_id == ?");
|
||||
PreparedStatement stmt = db.getPreparedStatement("SELECT * FROM event_data_raw WHERE event_id == ? ORDER BY timestamp DESC");
|
||||
stmt.setLong(1, event.getId());
|
||||
List<HistoryData> history = DBConnection.exec(stmt, new HistoryDataListSqlResult());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue