From f3cc84dbc8ec9a6de99a792b5d2312d2a4b740ce Mon Sep 17 00:00:00 2001 From: Arun Philip Date: Fri, 20 Sep 2024 23:50:50 -0400 Subject: [PATCH] show most recent events first on checkin --- src/Checkin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Checkin.php b/src/Checkin.php index 528f0e638a..797dc6918d 100644 --- a/src/Checkin.php +++ b/src/Checkin.php @@ -37,6 +37,7 @@ $activeEvents = EventQuery::create() ->filterByInActive(1, Criteria::NOT_EQUAL) + ->orderByStart(Criteria::DESC) ->find(); if ($EventID > 0) {