sort filter days

This commit is contained in:
Philip Häusler 2012-05-17 17:18:34 +02:00
parent 72b7267cff
commit 4eaa0d10ea
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ function view_user_shifts() {
global $ical_shifts;
$ical_shifts = array ();
$days = sql_select("SELECT DISTINCT DATE(FROM_UNIXTIME(`start`)) AS `id`, DATE(FROM_UNIXTIME(`start`)) AS `name` FROM `Shifts`");
$days = sql_select("SELECT DISTINCT DATE(FROM_UNIXTIME(`start`)) AS `id`, DATE(FROM_UNIXTIME(`start`)) AS `name` FROM `Shifts` ORDER BY `start`");
$rooms = sql_select("SELECT `RID` AS `id`, `Name` AS `name` FROM `Room` WHERE `show`='Y' ORDER BY `Name`");
$types = sql_select("SELECT `id`, `name` FROM `AngelTypes`");
$filled = array (