We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7731d5 + 543e3a9 commit 8016fcfCopy full SHA for 8016fcf
app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php
@@ -350,15 +350,21 @@ protected function _renderFiltersBefore()
350
'search_result.'. TemporaryStorage::FIELD_SCORE . ' ' . $this->relevanceOrderDirection
351
);
352
}
353
+ return parent::_renderFiltersBefore();
354
+ }
355
356
+ /**
357
+ * @inheritdoc
358
+ */
359
+ protected function _beforeLoad()
360
+ {
361
/*
362
* This order is required to force search results be the same
363
* for the same requests and products with the same relevance
364
* NOTE: this does not replace existing orders but ADDs one more
365
*/
366
$this->setOrder('entity_id');
-
- return parent::_renderFiltersBefore();
367
+ return parent::_beforeLoad();
368
369
370
/**
0 commit comments