Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -48,7 +48,10 @@ $data = $db->query(
|
||||
FROM horario
|
||||
NATURAL JOIN horario_profesor
|
||||
NATURAL JOIN profesor
|
||||
JOIN fechas ON EXTRACT(DOW FROM fechas.registro_fecha_ideal) = horario_dia
|
||||
JOIN fechas
|
||||
ON EXTRACT(DOW FROM fechas.registro_fecha_ideal) = horario_dia
|
||||
AND fechas.registro_fecha_ideal >= horario_fecha_inicio::date
|
||||
AND (horario_fecha_fin IS NULL OR fechas.registro_fecha_ideal < horario_fecha_fin::date)
|
||||
NATURAL JOIN salon_view_mat
|
||||
|
||||
JOIN facultad ON facultad.facultad_id = COALESCE(horario.facultad_id, 0)
|
||||
|
||||
Reference in New Issue
Block a user