diff --git a/lib/Alchemy/Phrasea/Core/Version.php b/lib/Alchemy/Phrasea/Core/Version.php index 5f488cdd5a..3a3ff63afc 100644 --- a/lib/Alchemy/Phrasea/Core/Version.php +++ b/lib/Alchemy/Phrasea/Core/Version.php @@ -16,7 +16,7 @@ class Version /** * @var string */ - private $number = '4.1.0-alpha.20a'; + private $number = '4.1.0-alpha.21a'; /** * @var string diff --git a/lib/Alchemy/Phrasea/SearchEngine/Elastic/ElasticsearchSettingsFormType.php b/lib/Alchemy/Phrasea/SearchEngine/Elastic/ElasticsearchSettingsFormType.php index 4dbf6899bf..1f2fa3d1e2 100644 --- a/lib/Alchemy/Phrasea/SearchEngine/Elastic/ElasticsearchSettingsFormType.php +++ b/lib/Alchemy/Phrasea/SearchEngine/Elastic/ElasticsearchSettingsFormType.php @@ -149,7 +149,7 @@ class ElasticsearchSettingsFormType extends AbstractType // populate aggs to form foreach($aggs as $k=>$agg) { - $builder->add('aggregates:' . $k . ':limit', ChoiceType::class, $agg); + $builder->add('facets:' . $k . ':limit', ChoiceType::class, $agg); } } diff --git a/templates/web/admin/fields/templates.html.twig b/templates/web/admin/fields/templates.html.twig index 0dc661fc5c..016534fd52 100644 --- a/templates/web/admin/fields/templates.html.twig +++ b/templates/web/admin/fields/templates.html.twig @@ -238,14 +238,12 @@
+ + | {{ form_label(formdata, null, { 'label_attr': {'class': 'label-aggregation'} @@ -22,6 +47,39 @@ {% endif %} {% endfor %} - - \ No newline at end of file + + + + \ No newline at end of file |