File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
app/code/Magento/Review/Block/Adminhtml Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+ declare (strict_types=1 );
6
7
7
8
namespace Magento \Review \Block \Adminhtml ;
8
9
15
16
* @method \Magento\Review\Block\Adminhtml\Grid setCustomerId() setCustomerId(int $customerId)
16
17
* @method \Magento\Review\Block\Adminhtml\Grid setMassactionIdFieldOnlyIndexValue()
17
18
* setMassactionIdFieldOnlyIndexValue(bool $onlyIndex)
18
- *
19
- * @author Magento Core Team <core@magentocommerce.com>
20
19
*/
21
20
class Grid extends \Magento \Backend \Block \Widget \Grid \Extended
22
21
{
@@ -239,7 +238,13 @@ protected function _prepareColumns()
239
238
if (!$ this ->_storeManager ->isSingleStoreMode ()) {
240
239
$ this ->addColumn (
241
240
'visible_in ' ,
242
- ['header ' => __ ('Visibility ' ), 'index ' => 'stores ' , 'type ' => 'store ' , 'store_view ' => true ]
241
+ [
242
+ 'header ' => __ ('Visibility ' ),
243
+ 'index ' => 'stores ' ,
244
+ 'type ' => 'store ' ,
245
+ 'store_view ' => true ,
246
+ 'sortable ' => false
247
+ ]
243
248
);
244
249
}
245
250
You can’t perform that action at this time.
0 commit comments