Sort announcements descending by start time

refs #2987
This commit is contained in:
Eric Lippmann 2017-11-07 17:03:14 +01:00
parent 1f5f610b04
commit cd05d00b63
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class AnnouncementsController extends Controller
$repo = new AnnouncementIniRepository();
$this->view->announcements = $repo
->select(array('id', 'author', 'message', 'start', 'end'))
->order('start');
->order('start', 'DESC');
}
/**