Commit 8231cd04 authored by Daniel Piddock's avatar Daniel Piddock Committed by Frédéric Buclin

Bug 835780: Order quips chronologically when listing them

r/a=LpSolit
parent 1b65df64
......@@ -30,7 +30,7 @@ my $token = $cgi->param('token');
if ($action eq "show") {
# Read in the entire quip list
my $quipsref = $dbh->selectall_arrayref(
"SELECT quipid, userid, quip, approved FROM quips");
"SELECT quipid, userid, quip, approved FROM quips ORDER BY quipid");
my $quips;
my @quipids;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment