Skip to content

Commit ca2c833

Browse files
author
Oleksii Korshenko
authored
Merge pull request #916 from magento-engcom/develop-prs
Merged Pull Requests: #2199 #6767 #5620
2 parents 65d8a67 + bbd43bd commit ca2c833

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function execute()
3737
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
3838
$resultPage = $this->resultPageFactory->create();
3939
$resultPage->setActiveMenu('Magento_Catalog::catalog_products');
40-
$resultPage->getConfig()->getTitle()->prepend(__('Catalog'));
40+
$resultPage->getConfig()->getTitle()->prepend(__('Products'));
4141
return $resultPage;
4242
}
4343
}

app/code/Magento/Catalog/etc/adminhtml/menu.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
99
<menu>
10-
<add id="Magento_Catalog::catalog" title="Products" translate="title" module="Magento_Catalog" sortOrder="20" dependsOnModule="Magento_Catalog" resource="Magento_Catalog::catalog"/>
11-
<add id="Magento_Catalog::catalog_products" title="Catalog" translate="title" module="Magento_Catalog" sortOrder="10" parent="Magento_Catalog::inventory" action="catalog/product/" resource="Magento_Catalog::products"/>
10+
<add id="Magento_Catalog::catalog" title="Catalog" translate="title" module="Magento_Catalog" sortOrder="20" dependsOnModule="Magento_Catalog" resource="Magento_Catalog::catalog"/>
11+
<add id="Magento_Catalog::catalog_products" title="Products" translate="title" module="Magento_Catalog" sortOrder="10" parent="Magento_Catalog::inventory" action="catalog/product/" resource="Magento_Catalog::products"/>
1212
<add id="Magento_Catalog::catalog_categories" title="Categories" translate="title" module="Magento_Catalog" sortOrder="20" parent="Magento_Catalog::inventory" action="catalog/category/" resource="Magento_Catalog::categories"/>
1313
<add id="Magento_Catalog::catalog_attributes_attributes" title="Product" translate="title" module="Magento_Catalog" sortOrder="30" parent="Magento_Backend::stores_attributes" action="catalog/product_attribute/" resource="Magento_Catalog::attributes_attributes"/>
1414
<add id="Magento_Catalog::catalog_attributes_sets" title="Attribute Set" translate="title" module="Magento_Catalog" sortOrder="40" parent="Magento_Backend::stores_attributes" action="catalog/product_set/" resource="Magento_Catalog::sets"/>

lib/internal/Magento/Framework/App/RouterList.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class RouterList implements RouterListInterface
2929
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, array $routerList)
3030
{
3131
$this->objectManager = $objectManager;
32-
$this->routerList = $routerList;
3332
$this->routerList = array_filter(
3433
$routerList,
3534
function ($item) {

lib/internal/Magento/Framework/EntityManager/Db/ReadRow.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public function execute($entityType, $identifier, $context = [])
4949
{
5050
$metadata = $this->metadataPool->getMetadata($entityType);
5151
$connection = $this->resourceConnection->getConnectionByName($metadata->getEntityConnectionName());
52-
$metadata = $this->metadataPool->getMetadata($entityType);
5352
$select = $connection->select()
5453
->from(['t' => $metadata->getEntityTable()])
5554
->where($metadata->getIdentifierField() . ' = ?', $identifier);

0 commit comments

Comments
 (0)