From 5c1925bc2d087eaacb0630cc2d79a0f18ba3422c Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 19 Mar 2020 15:02:47 +0000 Subject: [PATCH] order regs --- ext/et_server/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/et_server/main.php b/ext/et_server/main.php index f3b7b341..8dc56316 100644 --- a/ext/et_server/main.php +++ b/ext/et_server/main.php @@ -22,7 +22,7 @@ class ETServer extends Extension elseif ($user->can(Permissions::VIEW_REGISTRATIONS)) { $page->set_title("Registrations"); $page->set_heading("Registrations"); - foreach($database->get_all("SELECT responded, data FROM registration") as $row) { + foreach($database->get_all("SELECT responded, data FROM registration ORDER BY responded DESC") as $row) { $page->add_block(new Block( $row["responded"], (string)PRE(["style"=>"text-align: left; overflow: scroll;"], $row["data"])