aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/Zurich.pm4
-rw-r--r--templates/web/zurich/admin/stats.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm
index 90bee4fd7..38544c851 100644
--- a/perllib/FixMyStreet/Cobrand/Zurich.pm
+++ b/perllib/FixMyStreet/Cobrand/Zurich.pm
@@ -604,7 +604,7 @@ sub admin_stats {
# Reports moderated within 1 day
my $moderated = $c->model('DB::Problem')->search( { extra => { like => 'moderated_overdue,I1:0%' }, %params } )->count;
# Reports solved within 5 days
- my $solved = $c->model('DB::Problem')->search( { extra => { like => 'subdiv_overdue,I1:0%' }, %params } )->count;
+ my $subdiv_dealtwith = $c->model('DB::Problem')->search( { extra => { like => 'subdiv_overdue,I1:0%' }, %params } )->count;
# Reports per category
my $per_category = $c->model('DB::Problem')->search( \%params, {
select => [ 'category', { count => 'id' } ],
@@ -634,7 +634,7 @@ sub admin_stats {
reports_spam => $hidden,
reports_assigned => $closed,
reports_moderated => $moderated,
- reports_solved => $solved,
+ reports_dealtwith => $subdiv_dealtwith,
reports_category_changed => $changed,
pictures_taken => $pictures_taken,
pictures_published => $pictures_published,
diff --git a/templates/web/zurich/admin/stats.html b/templates/web/zurich/admin/stats.html
index e001c3d94..f03311a83 100644
--- a/templates/web/zurich/admin/stats.html
+++ b/templates/web/zurich/admin/stats.html
@@ -29,7 +29,7 @@
<li>[% loc('Hidden') %]: [% reports_spam || 0 %]
<li>Externe Adressen: [% reports_assigned || 0 %]
<li>[% loc('Moderated by division within one working day') %]: [% reports_moderated || 0 %]
-<li>[% loc('Dealt with by subdivision within 5 working days') %]: [% reports_solved || 0 %]
+<li>[% loc('Dealt with by subdivision within 5 working days') %]: [% reports_dealtwith || 0 %]
<li>[% loc('Assign to different category:') %] [% reports_category_changed || 0 %]
<li>[% loc('Photo') %]: [% pictures_taken || 0 %]
<li>[% loc('Publish photo') %]: [% pictures_published || 0 %]