From 84ad9b55f0ce1e664d8fb4d8213939ef637f43e9 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 13 Jul 2012 12:15:25 +0200 Subject: [PATCH] BUG Retain page search state on list view actions (fixes #7648) The ".action-detail" link behaviour overloads GridField's showDetailForm() method, which in turn appends any query params to the URL (including the existing search params). --- code/controllers/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index c241d5d957..81daa63918 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -715,7 +715,7 @@ public function ListViewForm() { } }, 'getTreeTitle' => function($value, &$item) use($controller) { - return '' . $item->TreeTitle . ''; + return '' . $item->TreeTitle . ''; } ));