Browse files

ENHANCEMENT Show 10 images per page in the AssetAdmin

  • Loading branch information...
1 parent e2661df commit 7d87fa06005a6b2cc6189c90667310847d8bb611 @stojg stojg committed Jan 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 filesystem/Folder.php
View
4 filesystem/Folder.php
@@ -402,7 +402,7 @@ function getCMSFields() {
$config->addComponent(new GridFieldFilter());
$config->addComponent(new GridFieldDefaultColumns());
$config->addComponent(new GridFieldSortableHeader());
- $config->addComponent(new GridFieldPaginator(2));
+ $config->addComponent(new GridFieldPaginator(10));
$config->addComponent(new GridFieldAction_Delete());
$config->addComponent(new GridFieldAction_Edit());
$config->addComponent($gridFieldForm = new GridFieldPopupForms());
@@ -417,7 +417,7 @@ function getCMSFields() {
));
$titleField = ($this->ID && $this->ID != "root") ? new TextField("Title", _t('Folder.TITLE')) : new HiddenField("Title");
-
+
$fields = new FieldList(
new TabSet('Root',
new Tab('Main',

0 comments on commit 7d87fa0

Please sign in to comment.