Skip to content

Commit 3046f62

Browse files
Clean code
1 parent 551ca35 commit 3046f62

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Plugin/Controller/Category/View.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ public function afterExecute(\Magento\Catalog\Controller\Category\View $action,
5555
{
5656
if ($this->_moduleHelper->ajaxEnabled() && $action->getRequest()->isAjax()) {
5757
$navigation = $page->getLayout()->getBlock('catalog.leftnav');
58-
$products = $page->getLayout()->getBlock('category.products');
59-
$result = ['products' => $products->toHtml(), 'navigation' => $navigation->toHtml()];
58+
$products = $page->getLayout()->getBlock('category.products');
59+
$result = ['products' => $products->toHtml(), 'navigation' => $navigation->toHtml()];
6060
if ($this->_moduleHelper->getConfigValue('mpquickview/general/enabled')) {
61-
$quickView = $page->getLayout()->getBlock('mpquickview.quickview');
61+
$quickView = $page->getLayout()->getBlock('mpquickview.quickview');
6262
$result['quickview'] = $quickView->toHtml();
6363
}
6464
$action->getResponse()->representJson(LayerData::jsonEncode($result));

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "mageplaza/module-ajax-layered-navigation",
33
"description": "Magento 2 Ajax Layered Navigation Extension",
44
"require": {
5-
"mageplaza/module-core": "^1.4.4"
5+
"mageplaza/module-core": "^1.4.5"
66
},
77
"type": "magento2-module",
8-
"version": "1.0.4",
8+
"version": "1.0.5",
99
"license": "proprietary",
1010
"authors": [
1111
{

0 commit comments

Comments
 (0)