aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Problems.pm
diff options
context:
space:
mode:
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;
}