Skip to content

Commit 0944fa0

Browse files
committed
MC-18948: Switch default search engine from MySQL to ElasticSearch
- fixing admin to default to search engine if not valid
1 parent a54a427 commit 0944fa0

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Search/Model/Adminhtml/System/Config/Source

1 file changed

+1
-1
lines changed

app/code/Magento/Search/Model/Adminhtml/System/Config/Source/Engine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function toOptionArray()
5050
$options = [['value' => null, 'label' => __('--Please Select--')]];
5151
foreach ($this->engines as $key => $label) {
5252
if ($this->engineResolver->getCurrentSearchEngine() === $key) {
53-
$label = $label . ' ' . __('Default');
53+
$label = $label . ' (' . __('Default') . ')';
5454
}
5555
$options[] = ['value' => $key, 'label' => $label];
5656
}

0 commit comments

Comments
 (0)