mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-22 23:17:12 +01:00
created debug panel for elasticsearch
this panel shows all logged elasticsearch queries and allows to execute them to see the results.
This commit is contained in:
@@ -61,7 +61,8 @@ class Module extends \yii\base\Module
|
||||
Yii::$app->getView()->on(View::EVENT_END_BODY, [$this, 'renderToolbar']);
|
||||
});
|
||||
|
||||
foreach (array_merge($this->corePanels(), $this->panels) as $id => $config) {
|
||||
$this->panels = array_merge($this->corePanels(), $this->panels);
|
||||
foreach ($this->panels as $id => $config) {
|
||||
$config['module'] = $this;
|
||||
$config['id'] = $id;
|
||||
$this->panels[$id] = Yii::createObject($config);
|
||||
|
||||
Reference in New Issue
Block a user