summaryrefslogtreecommitdiffstats
path: root/quips.cgi
diff options
context:
space:
mode:
authorDaniel Piddock <dgp-bz@corefiling.co.uk>2013-01-30 17:29:06 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-01-30 17:29:06 +0100
commit8231cd046c4fff001e2861ca2ffde14c7f05380b (patch)
treeef3ca9a4f4f23404d87bcf814c5bd724e0228737 /quips.cgi
parent1b65df64643a90d830d0ffa9d8c12a72244cfa18 (diff)
downloadbugzilla-8231cd046c4fff001e2861ca2ffde14c7f05380b.tar.gz
bugzilla-8231cd046c4fff001e2861ca2ffde14c7f05380b.tar.xz
Bug 835780: Order quips chronologically when listing them
r/a=LpSolit
Diffstat (limited to 'quips.cgi')
-rwxr-xr-xquips.cgi2
1 files changed, 1 insertions, 1 deletions
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;