From 812fad5964112eb76ecd3e3e238e61eec01a4b80 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 6 May 2009 06:31:38 +0000 Subject: [PATCH] BUGFIX: Fix modeladmin scrollbars in ie7 git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76268 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/ModelAdmin.php | 1 + css/ModelAdmin.css | 2 +- templates/Includes/ModelAdmin_right.ss | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/ModelAdmin.php b/code/ModelAdmin.php index ee0ccf9e..a7f76f31 100644 --- a/code/ModelAdmin.php +++ b/code/ModelAdmin.php @@ -610,6 +610,7 @@ class ModelAdmin_CollectionController extends Controller { $this->modelClass, $summaryFields ); + $tf->setCustomQuery($this->getSearchQuery($searchCriteria)); $tf->setPageSize($this->parentController->stat('page_length')); $tf->setShowPagination(true); diff --git a/css/ModelAdmin.css b/css/ModelAdmin.css index f4fe2d74..a5edb2bd 100644 --- a/css/ModelAdmin.css +++ b/css/ModelAdmin.css @@ -67,7 +67,7 @@ body.ModelAdmin #ResultTable_holder { } body.ModelAdmin #right{ - overflow:auto; + overflow:auto !important; } body.ModelAdmin #right #ModelAdminPanel { diff --git a/templates/Includes/ModelAdmin_right.ss b/templates/Includes/ModelAdmin_right.ss index 709c51b2..9ce29808 100755 --- a/templates/Includes/ModelAdmin_right.ss +++ b/templates/Includes/ModelAdmin_right.ss @@ -1,5 +1,5 @@ -
+
<% if EditForm %> $EditForm