aboutsummaryrefslogtreecommitdiffstats
path: root/web-admin
diff options
context:
space:
mode:
authormatthew <matthew>2009-02-20 18:26:48 +0000
committermatthew <matthew>2009-02-20 18:26:48 +0000
commitd48124f1dced3c9daa9040a7d19107b43ec5c942 (patch)
treea8d320c570d04907e2957d543e7fa48773817cee /web-admin
parent883e8f1bb2843f598655b72c46023212c1c3266e (diff)
Sort order.
Diffstat (limited to 'web-admin')
-rwxr-xr-xweb-admin/index.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/web-admin/index.cgi b/web-admin/index.cgi
index 9bc681447..e61ca64e0 100755
--- a/web-admin/index.cgi
+++ b/web-admin/index.cgi
@@ -7,10 +7,10 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: index.cgi,v 1.66 2009-02-10 12:06:16 matthew Exp $
+# $Id: index.cgi,v 1.67 2009-02-20 18:26:48 matthew Exp $
#
-my $rcsid = ''; $rcsid .= '$Id: index.cgi,v 1.66 2009-02-10 12:06:16 matthew Exp $';
+my $rcsid = ''; $rcsid .= '$Id: index.cgi,v 1.67 2009-02-20 18:26:48 matthew Exp $';
use strict;
@@ -460,7 +460,7 @@ sub admin_reports {
print $q->h2('Updates');
my $updates = select_all("select * from comment where id=? or
problem_id=? or email ilike '%'||?||'%' or name ilike '%'||?||'%' or
- text ilike '%'||?||'%'", int($search), int($search), $search, $search,
+ text ilike '%'||?||'%' order by created", int($search), int($search), $search, $search,
$search);
admin_show_updates($q, $updates);
}