From f16a4e949263a2c676d7f6f9c84496e6ff45198f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 11 Aug 2008 02:57:59 +0000 Subject: [PATCH] (merged from branches/roa. use "svn log -c -g " for detailed commit message) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60327 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/ModelAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ModelAdmin.php b/code/ModelAdmin.php index 5cfce970..337da2c9 100644 --- a/code/ModelAdmin.php +++ b/code/ModelAdmin.php @@ -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 = 'Link() . '/$ID/edit\">$value'; $tf->setFieldFormatting(array_combine(array_keys($summaryFields), array_fill(0,count($summaryFields), $url)));