Skip to content

Commit d9fb867

Browse files
🔃 [EngCom] Public Pull Requests - 2.3-develop
Accepted Public Pull Requests: - #16481: Declare module namespace before template path name(Magento_Sales::order/creditmemo.phtml). (by @Sarvesh-A) - #16476: [Forwardport] Declare module namespace before template path name(Magento_Sales::order/info.phtml). (by @gelanivishal) - #16462: 2.3 develop (by @rsantellan) - #16429: [Forwardport] Fix for #8222 (by @0m3r) - #15592: Use the timeout when querying Elasticsearch (by @mpchadwick) Fixed GitHub Issues: - #8222: Estimate Shipping and Tax Form not works due to js error in collapsible.js [proposed fix] (reported by @Dart18) has been fixed in #16429 by @0m3r in 2.3-develop branch Related commits: 1. 59a80fd
2 parents 717879c + 6824f97 commit d9fb867

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

app/code/Magento/Elasticsearch/Model/Client/Elasticsearch.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ public function deleteMapping($index, $entityType)
293293
*/
294294
public function query($query)
295295
{
296-
return $this->client->search($query);
296+
$params = array_merge($query, ['client' => ['timeout' => $this->clientOptions['timeout']]]);
297+
return $this->client->search($params);
297298
}
298299

299300
/**

app/code/Magento/Sales/Block/Order/Creditmemo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Creditmemo extends \Magento\Sales\Block\Order\Creditmemo\Items
1919
/**
2020
* @var string
2121
*/
22-
protected $_template = 'order/creditmemo.phtml';
22+
protected $_template = 'Magento_Sales::order/creditmemo.phtml';
2323

2424
/**
2525
* @var \Magento\Framework\App\Http\Context

app/code/Magento/Sales/Block/Order/Info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Info extends \Magento\Framework\View\Element\Template
2323
/**
2424
* @var string
2525
*/
26-
protected $_template = 'order/info.phtml';
26+
protected $_template = 'Magento_Sales::order/info.phtml';
2727

2828
/**
2929
* Core registry

app/code/Magento/SalesRule/view/frontend/web/js/view/summary/discount.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ define([
5757
}
5858

5959
discountSegments = this.totals()['total_segments'].filter(function (segment) {
60-
return segment.code === 'discount';
60+
return segment.code.indexOf('discount') !== -1;
6161
});
6262

6363
return discountSegments.length ? discountSegments[0].title : null;

lib/web/mage/collapsible.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ define([
110110
_processState: function () {
111111
var anchor = window.location.hash,
112112
isValid = $.mage.isValidSelector(anchor),
113-
urlPath = window.location.pathname.replace('.', ''),
113+
urlPath = window.location.pathname.replace(/\./g, ''),
114114
state;
115115

116116
this.stateKey = encodeURIComponent(urlPath + this.element.attr('id'));

0 commit comments

Comments
 (0)