Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

small tweak to calculation of user fixed problem counts

  • Loading branch information...
commit f6315ee890940ef004eaf155333772c0887ec6dc 1 parent 29b9957
@struan struan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  perllib/FixMyStreet/App/Controller/Dashboard.pm
View
2  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 = {
Please sign in to comment.
Something went wrong with that request. Please try again.