From eccbf32f68d5cc2c7d25f4d369b70d2904239212 Mon Sep 17 00:00:00 2001 From: msquare Date: Wed, 28 Dec 2016 00:26:54 +0100 Subject: redo --- includes/model/Shifts_model.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php index 5da15733..61f82255 100644 --- a/includes/model/Shifts_model.php +++ b/includes/model/Shifts_model.php @@ -74,7 +74,6 @@ function NeededAngeltypes_by_ShiftsFilter(ShiftsFilter $shiftsFilter, $user) { FROM `Shifts` JOIN `NeededAngelTypes` ON `NeededAngelTypes`.`shift_id`=`Shifts`.`SID` JOIN `AngelTypes` ON `AngelTypes`.`id`= `NeededAngelTypes`.`angel_type_id` - JOIN `NeededAngelTypes` AS nat_room ON `NeededAngelTypes`.`room_id`=`Shifts`.`RID` WHERE `Shifts`.`RID` IN (" . implode(',', $shiftsFilter->getRooms()) . ") AND `start` BETWEEN " . $shiftsFilter->getStartTime() . " AND " . $shiftsFilter->getEndTime() . " ORDER BY `Shifts`.`start`"; -- cgit v1.2.3-70-g09d2