summaryrefslogtreecommitdiffstats
path: root/quips.cgi
diff options
context:
space:
mode:
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;