Commit 840d588f by Tobias Munk

added panel support for index view

parent c9984617
...@@ -50,7 +50,13 @@ class DefaultController extends Controller ...@@ -50,7 +50,13 @@ class DefaultController extends Controller
$searchModel = new Debug(); $searchModel = new Debug();
$dataProvider = $searchModel->search($_GET, $this->getManifest()); $dataProvider = $searchModel->search($_GET, $this->getManifest());
// load latest request
$tags = array_keys($this->getManifest());
$tag = reset($tags);
$this->loadData($tag);
return $this->render('index', [ return $this->render('index', [
'panels' => $this->module->panels,
'dataProvider' => $dataProvider, 'dataProvider' => $dataProvider,
'searchModel' => $searchModel, 'searchModel' => $searchModel,
]); ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment