bugfix in free engels, now are free shifts are not showed
git-svn-id: svn://svn.cccv.de/engel-system@328 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
e71ae4ec90
commit
ec9554993b
|
@ -35,7 +35,7 @@ $SQL = "SELECT Shifts.*, ShiftEntry.*, User.Nick ".
|
|||
*/
|
||||
$SQL = "SELECT Shifts.*, ShiftEntry.* ".
|
||||
"FROM `Shifts` INNER JOIN ShiftEntry ON Shifts.SID = ShiftEntry.SID ".
|
||||
"WHERE (Shifts.DateS<=Now() AND Shifts.DateE>=Now() );";
|
||||
"WHERE (Shifts.DateS<=Now() AND Shifts.DateE>=Now() AND ShiftEntry.UID>0);";
|
||||
|
||||
//SELECT User.Nick, Schichtplan.*, Schichtbelegung. * FROM User LEFT JOIN Schichtbelegung ON User.UID=Schichtbelegung.UID, Schichtplan LEFT JOIN Schichtbelegung ON Schichtplan.SID = Schichtbelegung.SID WHERE Schichtplan.Date < now() and Schichtplan.EndDate > now() ORDER BY Nick
|
||||
|
||||
|
|
Loading…
Reference in New Issue