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 492d8fc + a0e99b1 commit 87a96dbCopy full SHA for 87a96db
Model/ResourceModel/Post/Fulltext/Collection.php
@@ -101,7 +101,7 @@ public function getSize()
101
/**
102
* {@inheritDoc}
103
*/
104
- public function setOrder($attribute, $dir = \Magento\Framework\DB\Select::SQL_DESC)
+ public function setOrder($field, $direction = self::SORT_ORDER_DESC)
105
{
106
throw new \LogicException("Sorting on multiple stores is not allowed in search engine collections.");
107
}
0 commit comments