CC-2152: Week view schedule widget not displaying items chronologically

-Fixed
This commit is contained in:
martin 2011-04-04 12:30:29 -04:00
parent 655aa43532
commit 36ca9fe755
1 changed files with 2 additions and 1 deletions

View File

@ -1060,7 +1060,8 @@ class Show_DAL {
." LEFT JOIN $CC_CONFIG[showTable] s"
." ON si.show_id = s.id"
." WHERE EXTRACT(DOW FROM si.starts) = $day"
." AND EXTRACT(WEEK FROM si.starts) = EXTRACT(WEEK FROM localtimestamp)";
." AND EXTRACT(WEEK FROM si.starts) = EXTRACT(WEEK FROM localtimestamp)"
." ORDER BY si.starts";
//echo $sql;