From f884421b43edec26961d78a509c09281494e8fd9 Mon Sep 17 00:00:00 2001 From: Anastasia Date: Tue, 24 Apr 2018 17:58:00 +0300 Subject: [PATCH] - default sort --- controllers/OrderController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controllers/OrderController.php b/controllers/OrderController.php index 230fc78..2354cd2 100755 --- a/controllers/OrderController.php +++ b/controllers/OrderController.php @@ -102,7 +102,9 @@ 'hasLanguage' => false, 'enableMassDelete' => false, 'modelPrimaryKey' => 'id', - 'defaultSort' => 'created_at DESC' + 'defaultSort' => [ + 'created_at' => 'DESC' + ] ], ]; } -- libgit2 0.21.4