From c5695499f5438d0e8a90f82d74125c25538016d7 Mon Sep 17 00:00:00 2001 From: stes Date: Tue, 22 Aug 2017 11:21:54 +0300 Subject: [PATCH] import --- models/OrderSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/OrderSearch.php b/models/OrderSearch.php index 5fd8740..f0b05a0 100755 --- a/models/OrderSearch.php +++ b/models/OrderSearch.php @@ -65,7 +65,7 @@ 'count(*)', ] ) - ->groupBy('order.id'); + ->groupBy('order.id')->orderBy('created_at DESC'); // add conditions that should always apply here -- libgit2 0.21.4