Skip to content

Commit ba773c6

Browse files
authored
Fix configs depends ID
1 parent c9e212c commit ba773c6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

etc/adminhtml/system.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,24 @@
1919
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
2020
<comment>If removed, you can select what attributes are going to be available in sort options with direction.</comment>
2121
<depends>
22-
<field id="sort_direction_status">1</field>
22+
<field id="advanced_sort_by_status">1</field>
2323
</depends>
2424
</field>
2525
<field id="advanced_sort_by_options" translate="label" type="text" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
2626
<label>Product Listing Sort Options</label>
2727
<frontend_model>Opengento\CatalogSortOrder\Block\Adminhtml\Config\Form\Field\SortOrder</frontend_model>
2828
<backend_model>Magento\Config\Model\Config\Backend\Serialized\ArraySerialized</backend_model>
2929
<depends>
30-
<field id="sort_direction_status">1</field>
30+
<field id="advanced_sort_by_status">1</field>
3131
</depends>
3232
</field>
3333
<field id="advanced_sort_by_overrides_category_orders" translate="label comment" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
3434
<label>Overrides Category Level Defined Sort By</label>
3535
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
3636
<comment>If yes, available sort by defined on the category level will be overridden by above settings.</comment>
37+
<depends>
38+
<field id="advanced_sort_by_status">1</field>
39+
</depends>
3740
</field>
3841
</group>
3942
</section>

0 commit comments

Comments
 (0)