Skip to content

Commit f32ea7f

Browse files
committed
Updated config filed name
1 parent c0d54ba commit f32ea7f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Helper/ConfigHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class ConfigHelper
4545
public const MIN_NUMBER_OF_RESULTS = 'algoliasearch_autocomplete/autocomplete/min_number_of_results';
4646
public const RENDER_TEMPLATE_DIRECTIVES = 'algoliasearch_autocomplete/autocomplete/render_template_directives';
4747
public const AUTOCOMPLETE_MENU_DEBUG = 'algoliasearch_autocomplete/autocomplete/debug';
48-
public const AUTOCOMPLETE_DEBOUNCE_MILLIS = 'algoliasearch_autocomplete/autocomplete/debounce_millis';
48+
public const AUTOCOMPLETE_DEBOUNCE_MILLISEC = 'algoliasearch_autocomplete/autocomplete/debounce_millisec';
4949
public const AUTOCOMPLETE_MINIMUM_CHAR_LENGTH = 'algoliasearch_autocomplete/autocomplete/minimum_char_length';
5050

5151
public const PRODUCT_ATTRIBUTES = 'algoliasearch_products/products/product_additional_attributes';
@@ -938,7 +938,7 @@ public function isAutocompleteDebugEnabled($storeId = null)
938938
public function getAutocompleteDebounceMilliseconds($storeId = null): int
939939
{
940940
return (int) $this->configInterface->getValue(
941-
self::AUTOCOMPLETE_DEBOUNCE_MILLIS,
941+
self::AUTOCOMPLETE_DEBOUNCE_MILLISEC,
942942
ScopeInterface::SCOPE_STORE,
943943
$storeId
944944
);

etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
<field id="is_popup_enabled">1</field>
244244
</depends>
245245
</field>
246-
<field id="debounce_millis" translate="label comment" type="text" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="1">
246+
<field id="debounce_millisec" translate="label comment" type="text" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="1">
247247
<validate>validate-digits</validate>
248248
<label>Debounce requests</label>
249249
<comment>

etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<sections><![CDATA[{"_1600351750374_374":{"name":"pages","label":"Pages","hitsPerPage":"2"}}]]></sections>
1313
<excluded_pages><![CDATA[{"_1600351757831_831":{"attribute":"no-route"}}]]></excluded_pages>
1414
<navigator>1</navigator>
15-
<debounce_millis>300</debounce_millis>
15+
<debounce_millisec>300</debounce_millisec>
1616
<minimum_char_length>0</minimum_char_length>
1717
</autocomplete>
1818
</algoliasearch_autocomplete>

0 commit comments

Comments
 (0)