diff --git a/CHANGELOG.md b/CHANGELOG.md index 99e6339..2d42d43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ #Selection module changelog +###1.1.6 + - Fix products position update + ###1.1.4 - #13 added missing update folder diff --git a/Config/module.xml b/Config/module.xml index a8e8214..cfa9b58 100644 --- a/Config/module.xml +++ b/Config/module.xml @@ -13,7 +13,7 @@ en_US fr_FR - 1.1.5 + 1.1.6 Maxime BRUCHET diff --git a/Controller/SelectionContainerUpdateController.php b/Controller/SelectionContainerUpdateController.php index 9453265..c94757e 100644 --- a/Controller/SelectionContainerUpdateController.php +++ b/Controller/SelectionContainerUpdateController.php @@ -269,16 +269,6 @@ public function setToggleVisibilityAction() return $this->nullResponse(); } - protected function createUpdateProductPositionEvent($positionChangeMode, $positionValue) - { - return new UpdatePositionEvent( - $this->getRequest()->get('selection_container_id', null), - $positionChangeMode, - $positionValue, - Selection::getModuleId() - ); - } - public function createSelectionContainerAction() { $form = new SelectionCreateForm($this->getRequest()); diff --git a/Controller/SelectionUpdateController.php b/Controller/SelectionUpdateController.php index 25a8673..318724b 100644 --- a/Controller/SelectionUpdateController.php +++ b/Controller/SelectionUpdateController.php @@ -389,7 +389,7 @@ public function setToggleVisibilityAction() return $this->nullResponse(); } - protected function createUpdateProductPositionEvent($positionChangeMode, $positionValue) + protected function createUpdatePositionEvent($positionChangeMode, $positionValue) { return new UpdatePositionEvent( $this->getRequest()->get('product_id', null),