order regs
This commit is contained in:
parent
99c461e0e0
commit
5c1925bc2d
1 changed files with 1 additions and 1 deletions
|
@ -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"])
|
||||
|
|
Reference in a new issue