mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
parent
fd77c30838
commit
cccb34e98c
@ -12,7 +12,9 @@ class SearchController extends ActionController
|
|||||||
{
|
{
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
$this->view->dashboard = SearchDashboard::search($this->params->get('q'));
|
$searchDashboard = new SearchDashboard();
|
||||||
|
$searchDashboard->setUser($this->Auth()->getUser());
|
||||||
|
$this->view->dashboard = $searchDashboard->search($this->params->get('q'));
|
||||||
|
|
||||||
// NOTE: This renders the dashboard twice. Remove this once we can catch exceptions thrown in view scripts.
|
// NOTE: This renders the dashboard twice. Remove this once we can catch exceptions thrown in view scripts.
|
||||||
$this->view->dashboard->render();
|
$this->view->dashboard->render();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user