This commit is contained in:
mkm 2024-09-07 18:08:05 +08:00
commit 7da078bc12

View File

@ -55,7 +55,7 @@ class ProductLists extends BaseApiDataLists implements ListsSearchInterface, Lis
*/ */
public function setDefaultOrder(): array public function setDefaultOrder(): array
{ {
return ['price' => 'asc', 'id' => 'desc']; return ['sort'=>'desc','price' => 'asc', 'id' => 'desc'];
} }
/** /**