]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 835780: Order quips chronologically when listing them
authorDaniel Piddock <dgp-bz@corefiling.co.uk>
Wed, 30 Jan 2013 16:29:06 +0000 (17:29 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 30 Jan 2013 16:29:06 +0000 (17:29 +0100)
r/a=LpSolit

quips.cgi

index bbe53c86e3f80f68ee55822098d2e64d2986c732..6ded450918afbeffc39a8d09999b16c1cb6dc8c9 100755 (executable)
--- 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;