summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-12-28 15:36:45 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2018-12-28 15:36:45 +0100
commit0150aca6ad71bb7b000a377b297f5c739773a316 (patch)
tree6d8dce3fafaef0521a637619da44eb695487f7da
parent794df6f99e9e24a605dbe3998cf5d67b5bc8c4d9 (diff)
Order rooms in shift overview by name
closes #551 (Order of Rooms in overview)
-rw-r--r--includes/model/Shifts_model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php
index 4be65dda..6f422c32 100644
--- a/includes/model/Shifts_model.php
+++ b/includes/model/Shifts_model.php
@@ -119,7 +119,7 @@ function Shifts_by_ShiftsFilter(ShiftsFilter $shiftsFilter)
AND `NeededAngelTypes`.`count` > 0
AND NOT `Shifts`.`PSID` IS NULL) AS tmp_shifts
- ORDER BY `start`';
+ ORDER BY `room_name`, `start`';
return DB::select(
$sql,