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 @@ -366,15 +366,21 @@ protected function _renderFiltersBefore()
366
366
'search_result. ' . TemporaryStorage::FIELD_SCORE . ' ' . $ this ->relevanceOrderDirection
367
367
);
368
368
}
369
+ return parent ::_renderFiltersBefore ();
370
+ }
369
371
372
+ /**
373
+ * @inheritdoc
374
+ */
375
+ protected function _beforeLoad ()
376
+ {
370
377
/*
371
378
* This order is required to force search results be the same
372
379
* for the same requests and products with the same relevance
373
380
* NOTE: this does not replace existing orders but ADDs one more
374
381
*/
375
382
$ this ->setOrder ('entity_id ' );
376
-
377
- return parent ::_renderFiltersBefore ();
383
+ return parent ::_beforeLoad ();
378
384
}
379
385
380
386
/**
You can’t perform that action at this time.
0 commit comments