Skip to content

Commit 8d2b671

Browse files
author
Stanislav Idolov
authored
🔃 [EngCom] Public Pull Requests - 2.1-develop
Accepted Public Pull Requests: - #17091: [Backport] Issue-13768 Fixed error messages on admin user account page after redirect for force password change (by @mageprince) - #15677: [Backport] Wrong Last orders amount on dashboard #15660 (by @ankurvr) Fixed GitHub Issues: - #13768: Expired backend password - Attention: Something went wrong (reported by @janssensjelle) has been fixed in #17091 by @mageprince in 2.1-develop branch Related commits: 1. 90a8bed - #15660: Wrong order amount on dashboard on Last orders listing when having more than one website with different currencies (reported by @ankurvr) has been fixed in #15677 by @ankurvr in 2.1-develop branch Related commits: 1. 5a379fc 2. 0deea0e 3. 6b0f8d0 4. 2594853
2 parents 87b631e + aa54c65 commit 8d2b671

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Currency.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ public function __construct(
7070
$this->_storeManager = $storeManager;
7171
$this->_currencyLocator = $currencyLocator;
7272
$this->_localeCurrency = $localeCurrency;
73-
$defaultBaseCurrencyCode = $this->_scopeConfig->getValue(
74-
\Magento\Directory\Model\Currency::XML_PATH_CURRENCY_BASE,
75-
'default'
76-
);
73+
$defaultBaseCurrencyCode = $currencyLocator->getDefaultCurrency($this->_request);
7774
$this->_defaultBaseCurrency = $currencyFactory->create()->load($defaultBaseCurrencyCode);
7875
}
7976

app/code/Magento/User/Observer/Backend/ForceAdminPasswordChangeObserver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ public function execute(EventObserver $observer)
108108
'adminhtml_system_account_index',
109109
'adminhtml_system_account_save',
110110
'adminhtml_auth_logout',
111+
'mui_index_render'
111112
];
112113
/** @var \Magento\Framework\App\Action\Action $controller */
113114
$controller = $observer->getEvent()->getControllerAction();

0 commit comments

Comments
 (0)