mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-30 20:55:17 +01:00
[Patch by lolindrath - #30] ISNULL(due) wasn't compatible with postgreSQL, so changed to due IS NULL which works with all 3 db formats.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@63 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
dace1ce903
commit
e0606f8483
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<div id="display_box">
|
||||
<% for @shown_place in @shown_places %>
|
||||
<% @not_done = Todo.find_all("done=0 AND context_id=#{@shown_place.id}", "ISNULL(due), due ASC, created ASC") %>
|
||||
<% @not_done = Todo.find_all("done=0 AND context_id=#{@shown_place.id}", "due IS NULL, due ASC, created ASC") %>
|
||||
<% if !@not_done.empty? %>
|
||||
<div class="contexts">
|
||||
<h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue