diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php index 4449dc2a6596f..903e5f59c9855 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php @@ -350,15 +350,21 @@ protected function _renderFiltersBefore() 'search_result.'. TemporaryStorage::FIELD_SCORE . ' ' . $this->relevanceOrderDirection ); } + return parent::_renderFiltersBefore(); + } + /** + * @inheritdoc + */ + protected function _beforeLoad() + { /* * This order is required to force search results be the same * for the same requests and products with the same relevance * NOTE: this does not replace existing orders but ADDs one more */ $this->setOrder('entity_id'); - - return parent::_renderFiltersBefore(); + return parent::_beforeLoad(); } /**