Skip to content

Commit 0a3cd46

Browse files
authored
Remove obsolete comment in catalog_category_view.xml
In catalog_category_view.xml there is an XML comment that tells developers they can change the pager increments using methods like "addPagerLimit". These settings can be found in the backend now and the method "addPagerLimit" is only to be found in a list of deprecated methods I think it is safe to assume this comment doesn't serve a purpose anymore.
1 parent af1c56d commit 0a3cd46

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

app/code/Magento/Catalog/view/frontend/layout/catalog_category_view.xml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -28,53 +28,6 @@
2828
</block>
2929
<block class="Magento\Catalog\Block\Product\ProductList\Toolbar" name="product_list_toolbar" template="Magento_Catalog::product/list/toolbar.phtml">
3030
<block class="Magento\Theme\Block\Html\Pager" name="product_list_toolbar_pager"/>
31-
<!-- The following code shows how to set your own pager increments -->
32-
<!--
33-
<action method="setDefaultListPerPage">
34-
<argument name="limit" xsi:type="string">4</argument>
35-
</action>
36-
<action method="setDefaultGridPerPage">
37-
<argument name="limit" xsi:type="string">3</argument>
38-
</action>
39-
<action method="addPagerLimit">
40-
<argument name="mode" xsi:type="string">list</argument>
41-
<argument name="limit" xsi:type="string">2</argument>
42-
</action>
43-
<action method="addPagerLimit">
44-
<argument name="mode" xsi:type="string">list</argument>
45-
<argument name="limit" xsi:type="string">4</argument>
46-
</action>
47-
<action method="addPagerLimit">
48-
<argument name="mode" xsi:type="string">list</argument>
49-
<argument name="limit" xsi:type="string">6</argument>
50-
</action>
51-
<action method="addPagerLimit">
52-
<argument name="mode" xsi:type="string">list</argument>
53-
<argument name="limit" xsi:type="string">8</argument>
54-
</action>
55-
<action method="addPagerLimit" translate="label">
56-
<argument name="mode" xsi:type="string">list</argument>
57-
<argument name="limit" xsi:type="string">all</argument>
58-
<argument name="label" xsi:type="string">All</argument>
59-
</action>
60-
<action method="addPagerLimit">
61-
<argument name="mode" xsi:type="string">grid</argument>
62-
<argument name="limit" xsi:type="string">3</argument>
63-
</action>
64-
<action method="addPagerLimit">
65-
<argument name="mode" xsi:type="string">grid</argument>
66-
<argument name="limit" xsi:type="string">6</argument>
67-
</action>
68-
<action method="addPagerLimit">
69-
<argument name="mode" xsi:type="string">grid</argument>
70-
<argument name="limit" xsi:type="string">9</argument>
71-
</action>
72-
<action method="addPagerLimit" translate="label">
73-
<argument name="mode" xsi:type="string">grid</argument>
74-
<argument name="limit" xsi:type="string">all</argument>
75-
<argument name="label" xsi:type="string">All</argument>
76-
</action>
77-
-->
7831
</block>
7932
<action method="setToolbarBlockName">
8033
<argument name="name" xsi:type="string">product_list_toolbar</argument>

0 commit comments

Comments
 (0)