mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
(merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60327 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
711627f3d2
commit
f16a4e9492
@ -492,7 +492,7 @@ class ModelAdmin_CollectionController extends Controller {
|
||||
$tf->setCustomQuery($this->getSearchQuery());
|
||||
$tf->setPageSize($this->parentController->stat('page_length'));
|
||||
$tf->setShowPagination(true);
|
||||
$tf->setPermissions(array_merge(array('view'), $model->stat('results_permissions')));
|
||||
$tf->setPermissions(array_merge(array('view','export'), $model->stat('results_permissions')));
|
||||
$url = '<a href=\"' . $this->Link() . '/$ID/edit\">$value</a>';
|
||||
$tf->setFieldFormatting(array_combine(array_keys($summaryFields), array_fill(0,count($summaryFields), $url)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user