diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php index 379b21813860a..68274ee5043f5 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php @@ -366,15 +366,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(); } /**