From: Daniel Piddock Date: Wed, 30 Jan 2013 16:29:06 +0000 (+0100) Subject: Bug 835780: Order quips chronologically when listing them X-Git-Tag: bugzilla-4.5.1~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8231cd046c4fff001e2861ca2ffde14c7f05380b;p=thirdparty%2Fbugzilla.git Bug 835780: Order quips chronologically when listing them r/a=LpSolit --- diff --git a/quips.cgi b/quips.cgi index bbe53c86e3..6ded450918 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;