File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -350,15 +350,21 @@ protected function _renderFiltersBefore()
350350 'search_result. ' . TemporaryStorage::FIELD_SCORE . ' ' . $ this ->relevanceOrderDirection
351351 );
352352 }
353+ return parent ::_renderFiltersBefore ();
354+ }
353355
356+ /**
357+ * @inheritdoc
358+ */
359+ protected function _beforeLoad ()
360+ {
354361 /*
355362 * This order is required to force search results be the same
356363 * for the same requests and products with the same relevance
357364 * NOTE: this does not replace existing orders but ADDs one more
358365 */
359366 $ this ->setOrder ('entity_id ' );
360-
361- return parent ::_renderFiltersBefore ();
367+ return parent ::_beforeLoad ();
362368 }
363369
364370 /**
You can’t perform that action at this time.
0 commit comments