mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
adding count to reports
adds a count for each report.
This commit is contained in:
parent
c736906016
commit
78cebe8723
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user