Skip to content

Commit b5ba2e3

Browse files
authored
Fix ONGRElasticsearchExtension with multiple mappers with config (#24)
1 parent 58aa902 commit b5ba2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/ONGRElasticsearchExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function load(array $configs, ContainerBuilder $container)
4444

4545
$managers = $config['managers'];
4646
foreach ($managers as &$manager) {
47-
$manager['mappings'] = array_unique($manager['mappings']);
47+
$manager['mappings'] = array_unique($manager['mappings'], SORT_REGULAR);
4848
}
4949
$container->setParameter('es.cache', $config['cache']);
5050
$container->setParameter('es.analysis', $config['analysis']);

0 commit comments

Comments
 (0)