We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 492d8fc commit a0e99b1Copy full SHA for a0e99b1
1 file changed
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