diff --git a/routes/data.js b/routes/data.js index f6d5101..3cd21ee 100644 --- a/routes/data.js +++ b/routes/data.js @@ -412,7 +412,7 @@ dataRouter.get('/unregistered/:volunteerId', async (req, res) => { FROM current_events LEFT JOIN event_data ON current_events.id = event_data.event_id AND event_data.volunteer_id = $1 WHERE event_data.event_id IS NULL - ORDER BY current_events.date DESC;`, + ORDER BY current_events.date ASC;`, [volunteerId], ); res.status(200).json(unregisteredEvents.rows);