summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2012-05-17 17:18:34 +0200
committerPhilip Häusler <msquare@notrademark.de>2012-05-17 17:18:34 +0200
commit4eaa0d10eae3b72088708f0db4f57926abb5e968 (patch)
treeacb21dfb16e3e3e776363a4af2669e938d1887b0
parent72b7267cffc8d50e08bb85c978557f2406076cb5 (diff)
sort filter days
-rw-r--r--includes/pages/user_shifts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index f52702e1..1952d46f 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -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 (