From 8231cd046c4fff001e2861ca2ffde14c7f05380b Mon Sep 17 00:00:00 2001 From: Daniel Piddock Date: Wed, 30 Jan 2013 17:29:06 +0100 Subject: Bug 835780: Order quips chronologically when listing them r/a=LpSolit --- quips.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quips.cgi') diff --git a/quips.cgi b/quips.cgi index bbe53c86e..6ded45091 100755 --- a/quips.cgi +++ b/quips.cgi @@ -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; -- cgit v1.2.3-24-g4f1b