From f237d26f14aae3e776a38d1e6598e96fcfbce885 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Thu, 16 Jul 2009 01:57:12 +0000 Subject: [PATCH] Merged r81460 from trunk git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@81962 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/AssetTableField.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/AssetTableField.php b/code/AssetTableField.php index f06cf0a9..bb9472d8 100755 --- a/code/AssetTableField.php +++ b/code/AssetTableField.php @@ -36,6 +36,12 @@ class AssetTableField extends ComplexTableField { } $this->sourceFilter = '(' . implode(' OR ', $searchFilters) . ')'; $this->searchingFor = $_REQUEST['FileSearch']; + + // @todo Integrate search form more closely and don't rely on deprecated + // $extraLinkParams. + $this->extraLinkParams = array( + 'FileSearch' => $SQL_search + ); } $this->sourceSort = 'Title';