Skip to content

Commit b3b0d70

Browse files
committed
MAGETWO-91433: ProductListing: Grid view is getting changed to List view when user adding product from wishlist section.
1 parent e8bd0fe commit b3b0d70

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Store/App/Response/Redirect.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ protected function _getUrl()
8383
{
8484
$refererUrl = $this->_request->getServer('HTTP_REFERER');
8585
$encodedUrl = $this->_request->getParam(\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED)
86-
? $this->_request->getParam(\Magento\Framework\App\ActionInterface::PARAM_NAME_BASE64_URL)
87-
: '';
86+
?: $this->_request->getParam(\Magento\Framework\App\ActionInterface::PARAM_NAME_BASE64_URL);
8887

8988
if ($encodedUrl) {
9089
$refererUrl = $this->_urlCoder->decode($encodedUrl);

0 commit comments

Comments
 (0)