adding count to reports

adds a count for each report.
This commit is contained in:
Nicolaas 2013-02-21 09:04:21 +13:00
parent c736906016
commit 78cebe8723

View File

@ -166,7 +166,7 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider {
));
$columns->setFieldFormatting(array(
'title' => '<a href=\"$Link\" class=\"cms-panel-link\">$value</a>'
'title' => '<a href=\"$Link\" class=\"cms-panel-link\">$value ($Count)</a>'
));
$gridField->addExtraClass('all-reports-gridfield');
$fields->push($gridField);