Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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).
  • Loading branch information...
commit 84ad9b55f0ce1e664d8fb4d8213939ef637f43e9 1 parent b74178e
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  code/controllers/CMSMain.php
View
2  code/controllers/CMSMain.php
@@ -715,7 +715,7 @@ public function ListViewForm() {
}
},
'getTreeTitle' => function($value, &$item) use($controller) {
- return '<a class="cms-panel-link" href="' . singleton('CMSPageEditController')->Link('show') . '/' . $item->ID . '">' . $item->TreeTitle . '</a>';
+ return '<a class="action-detail" href="' . singleton('CMSPageEditController')->Link('show') . '/' . $item->ID . '">' . $item->TreeTitle . '</a>';
}
));

0 comments on commit 84ad9b5

Please sign in to comment.
Something went wrong with that request. Please try again.