From 78cebe8723bf8f5e87eb456ba6ed0f935a192aaf Mon Sep 17 00:00:00 2001 From: Nicolaas Date: Thu, 21 Feb 2013 09:04:21 +1300 Subject: [PATCH] adding count to reports adds a count for each report. --- code/ReportAdmin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/ReportAdmin.php b/code/ReportAdmin.php index 04305084..8a222ca6 100644 --- a/code/ReportAdmin.php +++ b/code/ReportAdmin.php @@ -165,9 +165,9 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider { 'title' => _t('ReportAdmin.ReportTitle', 'Title'), )); - $columns->setFieldFormatting(array( - 'title' => '$value' - )); + $columns->setFieldFormatting(array( + 'title' => '$value ($Count)' + )); $gridField->addExtraClass('all-reports-gridfield'); $fields->push($gridField); } @@ -181,4 +181,4 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider { return $form; } -} \ No newline at end of file +}