Error en horarios de rutas
This commit is contained in:
@@ -68,7 +68,7 @@ try {
|
|||||||
'horarios' => $db->query(
|
'horarios' => $db->query(
|
||||||
"SELECT " . implode(', ', $columns) . <<<SQL
|
"SELECT " . implode(', ', $columns) . <<<SQL
|
||||||
FROM horario_view
|
FROM horario_view
|
||||||
NATURAL JOIN periodo
|
inner JOIN periodo using(periodo_id)
|
||||||
JOIN bloque_horario ON (bloque_horario.hora_inicio, bloque_horario.hora_fin) OVERLAPS (horario_view.horario_hora, horario_view.horario_hora + horario_view.duracion)
|
JOIN bloque_horario ON (bloque_horario.hora_inicio, bloque_horario.hora_fin) OVERLAPS (horario_view.horario_hora, horario_view.horario_hora + horario_view.duracion)
|
||||||
NATURAL JOIN salon_view_mat
|
NATURAL JOIN salon_view_mat
|
||||||
NATURAL JOIN horario_profesor
|
NATURAL JOIN horario_profesor
|
||||||
@@ -92,7 +92,7 @@ try {
|
|||||||
'SELECT ' . implode(', ', $columns) . <<<SQL
|
'SELECT ' . implode(', ', $columns) . <<<SQL
|
||||||
, reposicion_hora + horario_view.duracion as reposicion_fin, registro_fecha_ideal
|
, reposicion_hora + horario_view.duracion as reposicion_fin, registro_fecha_ideal
|
||||||
FROM horario_view
|
FROM horario_view
|
||||||
NATURAL JOIN periodo
|
inner JOIN periodo using(periodo_id)
|
||||||
NATURAL JOIN registro
|
NATURAL JOIN registro
|
||||||
NATURAL JOIN reposicion
|
NATURAL JOIN reposicion
|
||||||
JOIN bloque_horario ON (bloque_horario.hora_inicio, bloque_horario.hora_fin) OVERLAPS (reposicion_hora, reposicion_hora + horario_view.duracion)
|
JOIN bloque_horario ON (bloque_horario.hora_inicio, bloque_horario.hora_fin) OVERLAPS (reposicion_hora, reposicion_hora + horario_view.duracion)
|
||||||
|
|||||||
2
test.php
2
test.php
@@ -13,7 +13,7 @@
|
|||||||
<!-- -->
|
<!-- -->
|
||||||
|
|
||||||
<body style="display: block;">
|
<body style="display: block;">
|
||||||
adiós amigos
|
adiós a todos mis amigos
|
||||||
<?
|
<?
|
||||||
# throw an uncaught exception
|
# throw an uncaught exception
|
||||||
//throw new Exception('Uncaught Exception');
|
//throw new Exception('Uncaught Exception');
|
||||||
|
|||||||
Reference in New Issue
Block a user