File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
CatalogSearch/view/frontend/templates
Elasticsearch/Model/ResourceModel/Fulltext/Collection Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
7
+ /** This changes need to valid applying filters and configuration before search process is started. */
8
+ $ productList = $ block ->getProductListHtml ();
6
9
?>
7
10
<?php if ($ block ->getResultCount ()) : ?>
8
11
<?= /* @noEscape */ $ block ->getChildHtml ('tagged_product_list_rss_link ' ) ?>
16
19
</div>
17
20
</div>
18
21
<?php endif ; ?>
19
- <?= $ block -> getProductListHtml () ?>
22
+ <?= /* @noEscape */ $ productList ?>
20
23
</div>
21
24
<?php else : ?>
22
25
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ public function apply()
50
50
foreach ($ this ->searchResult ->getItems () as $ item ) {
51
51
$ ids [] = (int )$ item ->getId ();
52
52
}
53
- $ this ->collection ->setPageSize (null );
54
53
$ this ->collection ->getSelect ()->where ('e.entity_id IN (?) ' , $ ids );
55
54
$ orderList = join (', ' , $ ids );
56
55
$ this ->collection ->getSelect ()->reset (\Magento \Framework \DB \Select::ORDER );
You can’t perform that action at this time.
0 commit comments