mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
fix bad merge happened cause last rebase (?)
This commit is contained in:
@@ -76,7 +76,7 @@ class ElasticsearchOptions
|
|||||||
$self->setPopulateOrder($options['populate_order']);
|
$self->setPopulateOrder($options['populate_order']);
|
||||||
$self->setPopulateDirection($options['populate_direction']);
|
$self->setPopulateDirection($options['populate_direction']);
|
||||||
$self->setActiveTab($options['activeTab']);
|
$self->setActiveTab($options['activeTab']);
|
||||||
foreach($options['aggregates'] as $fieldname=>$attributes) {
|
foreach($options['facets'] as $fieldname=>$attributes) {
|
||||||
$self->setAggregableField($fieldname, $attributes);
|
$self->setAggregableField($fieldname, $attributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ class ElasticsearchOptions
|
|||||||
'populate_order' => $this->populateOrder,
|
'populate_order' => $this->populateOrder,
|
||||||
'populate_direction' => $this->populateDirection,
|
'populate_direction' => $this->populateDirection,
|
||||||
'activeTab' => $this->activeTab,
|
'activeTab' => $this->activeTab,
|
||||||
'aggregates' => []
|
'facets' => []
|
||||||
];
|
];
|
||||||
foreach($this->getAggregableFields() as $fieldname=>$attributes) {
|
foreach($this->getAggregableFields() as $fieldname=>$attributes) {
|
||||||
$ret['facets'][$fieldname] = $attributes;
|
$ret['facets'][$fieldname] = $attributes;
|
||||||
|
|||||||
Reference in New Issue
Block a user