Skip to content

Commit fdcea01

Browse files
committed
MAGE-1281 Fix system.xml cross group dependencies (not supported across sections since KO cannot bind)
1 parent f472b1b commit fdcea01

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

etc/adminhtml/system.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@
10721072
]]>
10731073
</comment>
10741074
<depends>
1075-
<field id="algolia_indexing">1</field>
1075+
<field id="enable_indexing">1</field>
10761076
</depends>
10771077
</field>
10781078
<field id="enable_pages_index" translate="label comment" type="select" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
@@ -1085,12 +1085,16 @@
10851085
]]>
10861086
</comment>
10871087
<depends>
1088-
<field id="algolia_indexing">1</field>
1088+
<field id="enable_indexing">1</field>
10891089
</depends>
10901090
</field>
10911091
</group>
10921092
<group id="full_indexing" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
10931093
<label>Full indexing via Magento indexers</label>
1094+
<depends>
1095+
<field id="algoliasearch_indexing_manager/algolia_indexing/enable_indexing">1</field>
1096+
</depends>
1097+
<attribute type="expanded">1</attribute>
10941098
<comment>
10951099
<![CDATA[
10961100
<p><span class="algolia-config-warning">&#9888;</span> Since version 3.16.0, the following Magento indexers can be disabled for <strong>full indexing</strong>.
@@ -1524,9 +1528,6 @@
15241528
<comment>
15251529
<model>Algolia\AlgoliaSearch\Model\Config\AutomaticPriceIndexingComment</model>
15261530
</comment>
1527-
<depends>
1528-
<field id="active">1</field>
1529-
</depends>
15301531
</field>
15311532
<field id="enable_profiler" translate="label comment" type="select" sortOrder="130" showInDefault="1">
15321533
<label>Enable Profiler</label>

0 commit comments

Comments
 (0)