Skip to content

Commit 6f79bd8

Browse files
committed
Merge branch 'search-weight-admin-note' of github.com:pykettk/magento2 into 2.4-develop-prs
2 parents fe6c1dc + ad59871 commit 6f79bd8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function beforeSetForm(ProductAttributeFrontTabBlock $subject, Form $form
4545
[
4646
'name' => 'search_weight',
4747
'label' => __('Search Weight'),
48+
'note' => __('10 is the highest priority/heaviest weighting.'),
4849
'values' => $this->weightSource->getOptions()
4950
],
5051
'is_searchable'

app/code/Magento/CatalogSearch/Test/Unit/Block/Plugin/FrontTabPluginTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public function testBeforeSetForm()
111111
[
112112
'name' => 'search_weight',
113113
'label' => __('Search Weight'),
114+
'note' => __('10 is the highest priority/heaviest weighting.'),
114115
'values' => $weightOptions
115116
],
116117
'is_searchable',

0 commit comments

Comments
 (0)