aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Problems.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@cake.ukcod.org.uk>2010-04-20 13:30:45 +0100
committerMatthew Somerville <matthew@cake.ukcod.org.uk>2010-04-20 13:30:45 +0100
commit5adb298525d9919e6008cf94d79855a99b758578 (patch)
treeb1964ffc1246a720620c5e780ef3ae4cac80ddc6 /perllib/Problems.pm
parentb9c749ab6a51340aeb58e66c6771679b0a966c61 (diff)
Same search order for reports.
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 c7e3d8e28..404717705 100644
--- a/perllib/Problems.pm
+++ b/perllib/Problems.pm
@@ -333,7 +333,7 @@ sub problem_search {
'%'||?||'%' or name ilike '%'||?||'%' or title ilike '%'||?||'%' or
detail ilike '%'||?||'%' or council like '%'||?||'%' or cobrand_data like '%'||?||'%')
$site_restriction
- order by created", $search_n,
+ order by (state='hidden'),created", $search_n,
$search, $search, $search, $search, $search, $search);
return $problems;
}