-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3475 from magento-engcom/2.3-develop-prs
[EngCom] Public Pull Requests - 2.3-develop
- Loading branch information
Showing
18 changed files
with
319 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,13 @@ | |
*/ | ||
|
||
/** | ||
* Sales order view items block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Sales\Block\Order; | ||
|
||
/** | ||
* Sales order view items block. | ||
* | ||
* @api | ||
* @since 100.0.2 | ||
*/ | ||
|
@@ -71,7 +71,6 @@ protected function _prepareLayout() | |
|
||
$this->itemCollection = $this->itemCollectionFactory->create(); | ||
$this->itemCollection->setOrderFilter($this->getOrder()); | ||
$this->itemCollection->filterByParent(null); | ||
|
||
/** @var \Magento\Theme\Block\Html\Pager $pagerBlock */ | ||
$pagerBlock = $this->getChildBlock('sales_order_item_pager'); | ||
|
@@ -87,8 +86,9 @@ protected function _prepareLayout() | |
} | ||
|
||
/** | ||
* Determine if the pager should be displayed for order items list | ||
* To be called from templates(after _prepareLayout()) | ||
* Determine if the pager should be displayed for order items list. | ||
* | ||
* To be called from templates(after _prepareLayout()). | ||
* | ||
* @return bool | ||
* @since 100.1.7 | ||
|
@@ -101,7 +101,8 @@ public function isPagerDisplayed() | |
|
||
/** | ||
* Get visible items for current page. | ||
* To be called from templates(after _prepareLayout()) | ||
* | ||
* To be called from templates(after _prepareLayout()). | ||
* | ||
* @return \Magento\Framework\DataObject[] | ||
* @since 100.1.7 | ||
|
@@ -112,8 +113,9 @@ public function getItems() | |
} | ||
|
||
/** | ||
* Get pager HTML according to our requirements | ||
* To be called from templates(after _prepareLayout()) | ||
* Get pager HTML according to our requirements. | ||
* | ||
* To be called from templates(after _prepareLayout()). | ||
* | ||
* @return string HTML output | ||
* @since 100.1.7 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.