From 74f6f34b1691306d47fc37e655b4475ff846d73b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 7 Jan 2017 16:34:43 +0100 Subject: [PATCH] programupdate default order (show newest entries first) --- www/protected/models/ProgramUpdates.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/protected/models/ProgramUpdates.php b/www/protected/models/ProgramUpdates.php index d030877..c546632 100644 --- a/www/protected/models/ProgramUpdates.php +++ b/www/protected/models/ProgramUpdates.php @@ -49,7 +49,8 @@ class ProgramUpdates extends CActiveRecord 'ProgramUpdatesLog', [ 'programname' => 'Name' - ] + ], + 'order'=>'date DESC' ], ); }