bug 351598 - Fixes task SQL query. r1=ssitter, r2=jminta
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209299 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1101,12 +1101,12 @@ calStorageCalendar.prototype = {
|
||||
this.mDB,
|
||||
"SELECT * FROM cal_todos " +
|
||||
"WHERE " +
|
||||
" (("+floatingTodoDue+" >= :range_start + :start_offset) OR " +
|
||||
" ("+nonFloatingTodoDue+" >= :range_start)) OR " +
|
||||
" (todo_due IS NULL) AND " +
|
||||
" (("+floatingTodoEntry+" < :range_end + :end_offset) OR " +
|
||||
" ("+nonFloatingTodoEntry+" < :range_end)) OR " +
|
||||
" (todo_entry IS NULL) " +
|
||||
" ((("+floatingTodoDue+" >= :range_start + :start_offset) OR " +
|
||||
" ("+nonFloatingTodoDue+" >= :range_start)) OR " +
|
||||
" (todo_due IS NULL)) AND " +
|
||||
" ((("+floatingTodoEntry+" < :range_end + :end_offset) OR " +
|
||||
" ("+nonFloatingTodoEntry+" < :range_end)) OR " +
|
||||
" (todo_entry IS NULL)) " +
|
||||
" AND cal_id = :cal_id AND recurrence_id IS NULL"
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user