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()
350
350
'search_result. ' . TemporaryStorage::FIELD_SCORE . ' ' . $ this ->relevanceOrderDirection
351
351
);
352
352
}
353
+ return parent ::_renderFiltersBefore ();
354
+ }
353
355
356
+ /**
357
+ * @inheritdoc
358
+ */
359
+ protected function _beforeLoad ()
360
+ {
354
361
/*
355
362
* This order is required to force search results be the same
356
363
* for the same requests and products with the same relevance
357
364
* NOTE: this does not replace existing orders but ADDs one more
358
365
*/
359
366
$ this ->setOrder ('entity_id ' );
360
-
361
- return parent ::_renderFiltersBefore ();
367
+ return parent ::_beforeLoad ();
362
368
}
363
369
364
370
/**
You can’t perform that action at this time.
0 commit comments