Commit f884421b43edec26961d78a509c09281494e8fd9

Authored by Anastasia
1 parent efa6862a

- default sort

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
controllers/OrderController.php
@@ -102,7 +102,9 @@ @@ -102,7 +102,9 @@
102 'hasLanguage' => false, 102 'hasLanguage' => false,
103 'enableMassDelete' => false, 103 'enableMassDelete' => false,
104 'modelPrimaryKey' => 'id', 104 'modelPrimaryKey' => 'id',
105 - 'defaultSort' => 'created_at DESC' 105 + 'defaultSort' => [
  106 + 'created_at' => 'DESC'
  107 + ]
106 ], 108 ],
107 ]; 109 ];
108 } 110 }