Revert "Tabs: Merge the action's params into the current request url's params"

This reverts commit ba4dd255ec69a8e579f2c198c332e6f65e3e406b.

fixes #9494
This commit is contained in:
Johannes Meyer 2015-06-24 15:27:39 +02:00
parent 20fd3d6758
commit 8448f4ade4

View File

@ -309,14 +309,13 @@ EOT;
private function renderRefreshTab() private function renderRefreshTab()
{ {
$url = Url::fromRequest()->without('renderLayout');
$tab = $this->get($this->getActiveName()); $tab = $this->get($this->getActiveName());
if ($tab !== null) { if ($tab !== null) {
$url = Url::fromRequest($tab->getUrl()->getParams()->toArray(false))->without('renderLayout');
$label = $this->view()->escape( $label = $this->view()->escape(
$tab->getLabel() $tab->getLabel()
); );
} else {
$url = Url::fromRequest()->without('renderLayout');
} }
if (! empty($label)) { if (! empty($label)) {