aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Problems.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@cake.ukcod.org.uk>2010-04-20 12:54:26 +0100
committerMatthew Somerville <matthew@cake.ukcod.org.uk>2010-04-20 12:54:26 +0100
commitb9c749ab6a51340aeb58e66c6771679b0a966c61 (patch)
tree55c4348aa107e5f9e4dbaa00fa0b8ae53e8eab20 /perllib/Problems.pm
parent14a360acc05de5aaf043a91c55235a05be8d3053 (diff)
Clarify which state I'm talking about.
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 bb57cbbb5..c7e3d8e28 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 (state='hidden'),created", $search_n, $search_n, $search, $search,
+ order by (comment.state='hidden'),created", $search_n, $search_n, $search, $search,
$search, $search);
return $updates;
}