Skip to content

Commit b615ada

Browse files
committed
MC-22852: 24/36 product limit on Category page occur fatal
1 parent cc13bb9 commit b615ada

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function apply()
6060
{
6161
if (empty($this->searchResult->getItems())) {
6262
$this->collection->getSelect()->where('NULL');
63+
6364
return;
6465
}
6566

@@ -100,8 +101,6 @@ private function sliceItems(array $items, int $size, int $currentPage): array
100101
return $items;
101102
}
102103

103-
104-
105104
/**
106105
* Check that offset could be applied for search result items.
107106
*

0 commit comments

Comments
 (0)