Skip to content

Commit

Permalink
Specify Magento_Catalog module on template for sorting
Browse files Browse the repository at this point in the history
If the block `Magento\Catalog\Block\Product\ProductList\Toolbar` is rewritten in another module, it is searching for the template in that module, not in `Magento_Catalog`.
  • Loading branch information
vernard committed Jun 18, 2015
1 parent 19b26b5 commit 78f18f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<block class="Magento\Catalog\Block\Category\View" name="category.products" template="Magento_Catalog::category/products.phtml">
<block class="Magento\Catalog\Block\Product\ListProduct" name="category.products.list" as="product_list" template="Magento_Catalog::product/list.phtml">
<container name="category.product.list.additional" as="additional" />
<block class="Magento\Catalog\Block\Product\ProductList\Toolbar" name="product_list_toolbar" template="product/list/toolbar.phtml">
<block class="Magento\Catalog\Block\Product\ProductList\Toolbar" name="product_list_toolbar" template="Magento_Catalog::product/list/toolbar.phtml">
<block class="Magento\Theme\Block\Html\Pager" name="product_list_toolbar_pager"/>
<!-- The following code shows how to set your own pager increments -->
<!--
Expand Down

0 comments on commit 78f18f8

Please sign in to comment.