- fix : error during populate

- add : clear structure cache when structure (field or sb) is changed
This commit is contained in:
jygaulier
2020-11-05 11:26:19 +01:00
parent 4d961e2dbe
commit 5ae105d9c2
9 changed files with 105 additions and 40 deletions

View File

@@ -110,7 +110,7 @@ class SearchEngineController extends Controller
private function getConfigurationForm(ElasticsearchOptions $options)
{
/** @var GlobalStructure $g */
$g = $this->app['search_engine.structure'];
$g = $this->app['search_engine.global_structure'];
return $this->app->form(new ElasticsearchSettingsFormType($g, $options), $options, [
'action' => $this->app->url('admin_searchengine_form'),