Skip to content

Commit

Permalink
Merge pull request #21 from FabianHippmann/bugfix/20-update-compatibi…
Browse files Browse the repository at this point in the history
…lity

fix #20 - add required argument for ElasticSearchWorker to fix compatibil…
  • Loading branch information
kkarkus authored Apr 11, 2019
2 parents 9c98c64 + 2340d08 commit 12b4bd1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ services:
- '@coreshop.registry.index.interpreter'
- '@coreshop.index.filter_group_helper'
- '@coreshop.index.condition.renderer'
- '@coreshop.index.order.renderer'
shared: false
calls:
- { method: setLogger, arguments: ['@logger'] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
use CoreShop\Component\Index\Model\IndexableInterface;
use CoreShop\Component\Index\Model\IndexColumnInterface;
use CoreShop\Component\Index\Model\IndexInterface;
use CoreShop\Component\Index\Order\OrderRendererInterface;
use CoreShop\Component\Index\Worker\FilterGroupHelperInterface;
use CoreShop\Component\Registry\ServiceRegistryInterface;
use CoreShop2VueStorefrontBundle\Bridge\Attribute\AttributeIdGenerator;

use CoreShop2VueStorefrontBundle\Bridge\DocumentMapper\DocumentAttributeMapper;
use ONGR\ElasticsearchBundle\Service\Manager;
use Pimcore\Model\DataObject\ClassDefinition;
Expand Down Expand Up @@ -41,6 +43,7 @@ public function __construct(
ServiceRegistryInterface $interpreterServiceRegistry,
FilterGroupHelperInterface $filterGroupHelper,
ConditionRendererInterface $conditionRenderer,
OrderRendererInterface $orderRenderer,
DocumentAttributeMapper $documentAttributeBuilder,
Manager $manager,
AttributeIdGenerator $attributeIdGenerator
Expand All @@ -50,7 +53,8 @@ public function __construct(
$getterServiceRegistry,
$interpreterServiceRegistry,
$filterGroupHelper,
$conditionRenderer
$conditionRenderer,
$orderRenderer
);

$this->documentAttributeBuilder = $documentAttributeBuilder;
Expand Down

0 comments on commit 12b4bd1

Please sign in to comment.