Permalink
Browse files

small tweak to calculation of user fixed problem counts

  • Loading branch information...
1 parent 29b9957 commit f6315ee890940ef004eaf155333772c0887ec6dc @struan struan committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 = {

0 comments on commit f6315ee

Please sign in to comment.