ActionController: shift global parameters globally
This commit is contained in:
parent
8d8b65473a
commit
cddb68bffb
|
@ -73,10 +73,10 @@ class ActionController extends Zend_Controller_Action
|
|||
|
||||
$this->handlerBrowserWindows();
|
||||
$this->view->translationDomain = 'icinga';
|
||||
$this->_helper->layout()->isIframe = $this->params->shift('isIframe');
|
||||
$this->_helper->layout()->isIframe = $request->getUrl()->shift('isIframe');
|
||||
$this->_helper->layout()->moduleName = false;
|
||||
|
||||
if ($this->rerenderLayout = $this->params->shift('renderLayout')) {
|
||||
if ($this->rerenderLayout = $request->getUrl()->shift('renderLayout')) {
|
||||
$this->xhrLayout = 'body';
|
||||
}
|
||||
|
||||
|
|
|
@ -639,8 +639,8 @@ class Monitoring_ListController extends Controller
|
|||
{
|
||||
$editor = Widget::create('filterEditor')
|
||||
->setQuery($query)
|
||||
->preserveParams('limit', 'sort', 'dir', 'format', 'view', 'backend', 'renderLayout', 'stateType', 'addColumns')
|
||||
->ignoreParams('page', 'objecttype', 'from', 'to', 'btn_submit', 'icon')
|
||||
->preserveParams('limit', 'sort', 'dir', 'format', 'view', 'backend', 'stateType', 'addColumns')
|
||||
->ignoreParams('page')
|
||||
->handleRequest($this->getRequest());
|
||||
$query->applyFilter($editor->getFilter());
|
||||
|
||||
|
|
Loading…
Reference in New Issue