diff --git a/app/code/Magento/Review/Block/Adminhtml/Grid.php b/app/code/Magento/Review/Block/Adminhtml/Grid.php index 92fc03aa1e981..d77fae81a9369 100644 --- a/app/code/Magento/Review/Block/Adminhtml/Grid.php +++ b/app/code/Magento/Review/Block/Adminhtml/Grid.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Review\Block\Adminhtml; @@ -15,8 +16,6 @@ * @method \Magento\Review\Block\Adminhtml\Grid setCustomerId() setCustomerId(int $customerId) * @method \Magento\Review\Block\Adminhtml\Grid setMassactionIdFieldOnlyIndexValue() * setMassactionIdFieldOnlyIndexValue(bool $onlyIndex) - * - * @author Magento Core Team */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { @@ -239,7 +238,13 @@ protected function _prepareColumns() if (!$this->_storeManager->isSingleStoreMode()) { $this->addColumn( 'visible_in', - ['header' => __('Visibility'), 'index' => 'stores', 'type' => 'store', 'store_view' => true] + [ + 'header' => __('Visibility'), + 'index' => 'stores', + 'type' => 'store', + 'store_view' => true, + 'sortable' => false + ] ); }