Skip to content

Commit

Permalink
show most recent events first on checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
DAcodedBEAT committed Sep 21, 2024
1 parent 6e31aab commit f3cc84d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Checkin.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

$activeEvents = EventQuery::create()
->filterByInActive(1, Criteria::NOT_EQUAL)
->orderByStart(Criteria::DESC)
->find();

if ($EventID > 0) {
Expand Down

0 comments on commit f3cc84d

Please sign in to comment.