Skip to content

Commit

Permalink
Ensure the number of extended search terms must be greater than 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud committed Jan 15, 2025
1 parent 1e3213a commit 87b2152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module-elasticsuite-core/etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
</field>
<field id="extension_size" translate="label comment" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
<label>The number of suggested popular search terms to use for fetching results.</label>
<validate>integer</validate>
<validate>integer validate-greater-than-zero</validate>
<depends>
<field id="extension_enabled">1</field>
<field id="extension_limit">1</field>
Expand Down

0 comments on commit 87b2152

Please sign in to comment.