Skip to content

Commit 572926c

Browse files
merge magento/2.3.3-develop into magento-trigger/MC-18532
2 parents 5d7082f + fcca82e commit 572926c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/code/Magento/CatalogSearch/view/frontend/templates/result.phtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
/** This changes need to valid applying filters and configuration before search process is started. */
8+
$productList = $block->getProductListHtml();
69
?>
710
<?php if ($block->getResultCount()) : ?>
811
<?= /* @noEscape */ $block->getChildHtml('tagged_product_list_rss_link') ?>
@@ -16,7 +19,7 @@
1619
</div>
1720
</div>
1821
<?php endif; ?>
19-
<?= $block->getProductListHtml() ?>
22+
<?= /* @noEscape */ $productList ?>
2023
</div>
2124
<?php else : ?>
2225

app/code/Magento/Elasticsearch/Model/ResourceModel/Fulltext/Collection/SearchResultApplier.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public function apply()
5050
foreach ($this->searchResult->getItems() as $item) {
5151
$ids[] = (int)$item->getId();
5252
}
53-
$this->collection->setPageSize(null);
5453
$this->collection->getSelect()->where('e.entity_id IN (?)', $ids);
5554
$orderList = join(',', $ids);
5655
$this->collection->getSelect()->reset(\Magento\Framework\DB\Select::ORDER);

0 commit comments

Comments
 (0)