Skip to content

Commit 0e375f2

Browse files
committed
Merge remote-tracking branch 'origin/2.0.5_backlog' into MDVA-151
2 parents 539deaf + e280e68 commit 0e375f2

File tree

120 files changed

+272
-233
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+272
-233
lines changed

app/code/Magento/AdminNotification/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lib-libxml": "*"
1111
},
1212
"type": "magento2-module",
13-
"version": "100.0.4",
13+
"version": "100.0.5",
1414
"license": [
1515
"OSL-3.0",
1616
"AFL-3.0"

app/code/Magento/AdvancedPricingImportExport/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"magento/framework": "100.0.*"
1414
},
1515
"type": "magento2-module",
16-
"version": "100.0.4",
16+
"version": "100.0.5",
1717
"license": [
1818
"OSL-3.0",
1919
"AFL-3.0"

app/code/Magento/Authorization/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"magento/framework": "100.0.*"
88
},
99
"type": "magento2-module",
10-
"version": "100.0.4",
10+
"version": "100.0.5",
1111
"license": [
1212
"OSL-3.0",
1313
"AFL-3.0"

app/code/Magento/Authorizenet/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"magento/framework": "100.0.*"
1414
},
1515
"type": "magento2-module",
16-
"version": "100.0.4",
16+
"version": "100.0.5",
1717
"license": [
1818
"proprietary"
1919
],

app/code/Magento/Backend/Helper/Dashboard/Order.php

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
namespace Magento\Backend\Helper\Dashboard;
77

8+
use Magento\Framework\App\ObjectManager;
9+
810
/**
911
* Adminhtml dashboard helper for orders
1012
*/
@@ -15,6 +17,11 @@ class Order extends \Magento\Backend\Helper\Dashboard\AbstractDashboard
1517
*/
1618
protected $_orderCollection;
1719

20+
/**
21+
* @var \Magento\Store\Model\StoreManagerInterface
22+
*/
23+
protected $_storeManager;
24+
1825
/**
1926
* @param \Magento\Framework\App\Helper\Context $context
2027
* @param \Magento\Reports\Model\ResourceModel\Order\Collection $orderCollection
@@ -41,17 +48,31 @@ protected function _initCollection()
4148
if ($this->getParam('store')) {
4249
$this->_collection->addFieldToFilter('store_id', $this->getParam('store'));
4350
} elseif ($this->getParam('website')) {
44-
$storeIds = $this->_storeManager->getWebsite($this->getParam('website'))->getStoreIds();
51+
$storeIds = $this->getStoreManager()->getWebsite($this->getParam('website'))->getStoreIds();
4552
$this->_collection->addFieldToFilter('store_id', ['in' => implode(',', $storeIds)]);
4653
} elseif ($this->getParam('group')) {
47-
$storeIds = $this->_storeManager->getGroup($this->getParam('group'))->getStoreIds();
54+
$storeIds = $this->getStoreManager()->getGroup($this->getParam('group'))->getStoreIds();
4855
$this->_collection->addFieldToFilter('store_id', ['in' => implode(',', $storeIds)]);
4956
} elseif (!$this->_collection->isLive()) {
5057
$this->_collection->addFieldToFilter(
5158
'store_id',
52-
['eq' => $this->_storeManager->getStore(\Magento\Store\Model\Store::ADMIN_CODE)->getId()]
59+
['eq' => $this->getStoreManager()->getStore(\Magento\Store\Model\Store::ADMIN_CODE)->getId()]
5360
);
5461
}
5562
$this->_collection->load();
5663
}
64+
65+
/**
66+
* Get Store Manager
67+
*
68+
* @return \Magento\Store\Model\StoreManagerInterface
69+
*/
70+
public function getStoreManager()
71+
{
72+
if (!$this->_storeManager) {
73+
$this->_storeManager = ObjectManager::getInstance()->get('Magento\Store\Model\StoreManager');
74+
}
75+
76+
return $this->_storeManager;
77+
}
5778
}

app/code/Magento/Backend/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"magento/framework": "100.0.*"
2222
},
2323
"type": "magento2-module",
24-
"version": "100.0.4",
24+
"version": "100.0.5",
2525
"license": [
2626
"OSL-3.0",
2727
"AFL-3.0"

app/code/Magento/Backup/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"magento/framework": "100.0.*"
1010
},
1111
"type": "magento2-module",
12-
"version": "100.0.4",
12+
"version": "100.0.5",
1313
"license": [
1414
"OSL-3.0",
1515
"AFL-3.0"

app/code/Magento/Braintree/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"magento/module-checkout-agreements": "100.0.*"
2323
},
2424
"type": "magento2-module",
25-
"version": "100.0.4",
25+
"version": "100.0.5",
2626
"license": [
2727
"proprietary"
2828
],

app/code/Magento/Bundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"magento/module-bundle-sample-data": "Sample Data version:100.0.*"
2525
},
2626
"type": "magento2-module",
27-
"version": "100.0.4",
27+
"version": "100.0.5",
2828
"license": [
2929
"OSL-3.0",
3030
"AFL-3.0"

app/code/Magento/BundleImportExport/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"magento/framework": "100.0.*"
1212
},
1313
"type": "magento2-module",
14-
"version": "100.0.4",
14+
"version": "100.0.5",
1515
"license": [
1616
"OSL-3.0",
1717
"AFL-3.0"

0 commit comments

Comments
 (0)