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.
1 parent a04b0ef commit aba5efdCopy full SHA for aba5efd
app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php
@@ -1,7 +1,7 @@
1
<?php
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details.
+ * Copyright 2015 Adobe
+ * All Rights Reserved.
5
*/
6
7
namespace Magento\CatalogSearch\Model\ResourceModel\Fulltext;
@@ -581,7 +581,7 @@ protected function _beforeLoad()
581
* for the same requests and products with the same relevance
582
* NOTE: this does not replace existing orders but ADDs one more
583
584
- $this->setOrder('entity_id', Select::SQL_ASC);
+ $this->setOrder('entity_id', Select::SQL_DESC);
585
return parent::_beforeLoad();
586
}
587
0 commit comments