aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Problems.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@cake.ukcod.org.uk>2010-04-20 12:49:44 +0100
committerMatthew Somerville <matthew@cake.ukcod.org.uk>2010-04-20 12:49:44 +0100
commita267f47e14df4d620662b3a57cb9b24c236c11e9 (patch)
tree7f47b0278034065058f2b81b7e349e7eaf4c1eff /perllib/Problems.pm
parent3ef44a3a83498c2afd0f2766fc28487cab4c0e78 (diff)
Tweak to update table in admin.
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r--perllib/Problems.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm
index 44498aa73..bb57cbbb5 100644
--- a/perllib/Problems.pm
+++ b/perllib/Problems.pm
@@ -353,7 +353,7 @@ sub update_search {
problem_id=? or comment.email ilike '%'||?||'%' or comment.name ilike '%'||?||'%' or
comment.text ilike '%'||?||'%' or comment.cobrand_data ilike '%'||?||'%')
$site_restriction
- order by created", $search_n, $search_n, $search, $search,
+ order by (state='hidden'),created", $search_n, $search_n, $search, $search,
$search, $search);
return $updates;
}