|
147 | 147 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Date\NewestTop" type="Magento\PageBuilder\Model\Catalog\Sorting\Attribute">
|
148 | 148 | <arguments>
|
149 | 149 | <argument name="label" xsi:type="string">Newest products first</argument>
|
150 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
| 150 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
151 | 151 | <argument name="attribute_field" xsi:type="string">entity_id</argument>
|
152 | 152 | </arguments>
|
153 | 153 | </virtualType>
|
154 | 154 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Date\OldestTop" type="Magento\PageBuilder\Model\Catalog\Sorting\Attribute">
|
155 | 155 | <arguments>
|
156 | 156 | <argument name="label" xsi:type="string">Oldest products first</argument>
|
157 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
| 157 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
158 | 158 | <argument name="attribute_field" xsi:type="string">entity_id</argument>
|
159 | 159 | </arguments>
|
160 | 160 | </virtualType>
|
161 | 161 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Name\Ascending" type="Magento\PageBuilder\Model\Catalog\Sorting\Attribute">
|
162 | 162 | <arguments>
|
163 | 163 | <argument name="label" xsi:type="string">Name: A - Z</argument>
|
164 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
| 164 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
165 | 165 | <argument name="attribute_field" xsi:type="string">name</argument>
|
166 | 166 | </arguments>
|
167 | 167 | </virtualType>
|
168 | 168 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Name\Descending" type="Magento\PageBuilder\Model\Catalog\Sorting\Attribute">
|
169 | 169 | <arguments>
|
170 | 170 | <argument name="label" xsi:type="string">Name: Z - A</argument>
|
171 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
| 171 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
172 | 172 | <argument name="attribute_field" xsi:type="string">name</argument>
|
173 | 173 | </arguments>
|
174 | 174 | </virtualType>
|
175 | 175 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Sku\Ascending" type="Magento\PageBuilder\Model\Catalog\Sorting\Attribute">
|
176 | 176 | <arguments>
|
177 | 177 | <argument name="label" xsi:type="string">SKU: ascending</argument>
|
178 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
| 178 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
179 | 179 | <argument name="attribute_field" xsi:type="string">sku</argument>
|
180 | 180 | </arguments>
|
181 | 181 | </virtualType>
|
182 | 182 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Sku\Descending" type="Magento\PageBuilder\Model\Catalog\Sorting\Attribute">
|
183 | 183 | <arguments>
|
184 | 184 | <argument name="label" xsi:type="string">SKU: descending</argument>
|
185 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
| 185 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
186 | 186 | <argument name="attribute_field" xsi:type="string">sku</argument>
|
187 | 187 | </arguments>
|
188 | 188 | </virtualType>
|
189 | 189 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Stock\Ascending" type="Magento\PageBuilder\Model\Catalog\Sorting\Stock">
|
190 | 190 | <arguments>
|
191 | 191 | <argument name="label" xsi:type="string">Stock: low stock first</argument>
|
192 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
| 192 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
193 | 193 | </arguments>
|
194 | 194 | </virtualType>
|
195 | 195 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Stock\Descending" type="Magento\PageBuilder\Model\Catalog\Sorting\Stock">
|
196 | 196 | <arguments>
|
197 | 197 | <argument name="label" xsi:type="string">Stock: high stock first</argument>
|
198 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
| 198 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
199 | 199 | </arguments>
|
200 | 200 | </virtualType>
|
201 | 201 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Price\HighToLow" type="Magento\PageBuilder\Model\Catalog\Sorting\Price">
|
202 | 202 | <arguments>
|
203 | 203 | <argument name="label" xsi:type="string">Price: high to low</argument>
|
204 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
| 204 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_DESC</argument> |
205 | 205 | </arguments>
|
206 | 206 | </virtualType>
|
207 | 207 | <virtualType name="Magento\PageBuilder\Model\Catalog\Sorting\Price\LowToHigh" type="Magento\PageBuilder\Model\Catalog\Sorting\Price">
|
208 | 208 | <arguments>
|
209 | 209 | <argument name="label" xsi:type="string">Price: low to high</argument>
|
210 |
| - <argument name="sort_direction" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
| 210 | + <argument name="sortDirection" xsi:type="const">\Magento\Framework\DB\Select::SQL_ASC</argument> |
211 | 211 | </arguments>
|
212 | 212 | </virtualType>
|
213 | 213 | <type name="Magento\PageBuilder\Model\Catalog\Sorting">
|
|
0 commit comments