ordering by show start time
This commit is contained in:
parent
ec31fd50c9
commit
8208f8596b
|
@ -949,6 +949,7 @@ SQL;
|
||||||
AND ((si1.starts >= :start1::TIMESTAMP AND si1.starts < :end1::TIMESTAMP)
|
AND ((si1.starts >= :start1::TIMESTAMP AND si1.starts < :end1::TIMESTAMP)
|
||||||
OR (si1.ends > :start2::TIMESTAMP AND si1.ends <= :end2::TIMESTAMP)
|
OR (si1.ends > :start2::TIMESTAMP AND si1.ends <= :end2::TIMESTAMP)
|
||||||
OR (si1.starts <= :start3::TIMESTAMP AND si1.ends >= :end3::TIMESTAMP))
|
OR (si1.starts <= :start3::TIMESTAMP AND si1.ends >= :end3::TIMESTAMP))
|
||||||
|
ORDER BY si1.starts
|
||||||
SQL;
|
SQL;
|
||||||
return Application_Common_Database::prepareAndExecute( $sql,
|
return Application_Common_Database::prepareAndExecute( $sql,
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Reference in New Issue