Skip to content

Commit 0f9c29e

Browse files
committed
ACP2E-1854: Attribute that is not searchable but used in Search Results works incorrectly
- addressed static
1 parent 1f34e43 commit 0f9c29e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use Magento\Catalog\Model\Entity\Attribute;
1919
use Magento\Eav\Block\Adminhtml\Attribute\PropertyLocker;
2020
use Magento\Framework\Data\FormFactory;
21+
use Magento\Framework\Exception\LocalizedException;
2122
use Magento\Framework\Registry;
2223

2324
/**
@@ -58,9 +59,11 @@ public function __construct(
5859
}
5960

6061
/**
61-
* {@inheritdoc}
62+
* @inheritdoc
63+
*
6264
* @return $this
6365
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
66+
* @throws LocalizedException
6467
*/
6568
protected function _prepareForm()
6669
{

app/code/Magento/LayeredNavigation/Observer/Edit/Tab/Front/ProductAttributeFormBuildFormFieldDependenciesObserver.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* Product attribute edit form observer
4-
*
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/

0 commit comments

Comments
 (0)