parent
fd77c30838
commit
cccb34e98c
|
@ -12,7 +12,9 @@ class SearchController extends ActionController
|
|||
{
|
||||
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.
|
||||
$this->view->dashboard->render();
|
||||
|
|
Loading…
Reference in New Issue