aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-15 12:52:17 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-15 12:52:17 +0100
commitf6315ee890940ef004eaf155333772c0887ec6dc (patch)
tree43af1413080044b1bd81349f59d3f2b9a38736fd
parent29b9957d9967f34f90d364cf378b8c0425479f31 (diff)
small tweak to calculation of user fixed problem counts
-rw-r--r--perllib/FixMyStreet/App/Controller/Dashboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Dashboard.pm b/perllib/FixMyStreet/App/Controller/Dashboard.pm
index 1c8447c4e..c9f8d5338 100644
--- a/perllib/FixMyStreet/App/Controller/Dashboard.pm
+++ b/perllib/FixMyStreet/App/Controller/Dashboard.pm
@@ -208,7 +208,7 @@ sub updates_search : Private {
}
$counts{fixed_user} = $c->model('DB::Comment')->search(
- { %$params, mark_fixed => 1 }, { join => 'problem' }
+ { %$params, mark_fixed => 1, 'problem_state' => { IN => [ 'fixed - user', 'fixed' ] } }, { join => 'problem' }
)->count;
$params = {