Permalink
Browse files

Fix bug in PostgreSql

  • Loading branch information...
1 parent 92382ce commit 09e79849167102d3cc9f7ab76a82dbf56c5a49db Joao Jose Pedrini committed May 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/sprints_controller.rb
@@ -28,7 +28,7 @@ def index
def show
unless @sprint.nil?
@unassigned_tasks = Issue.find(:all, :joins => :status,
- :conditions => ["issue_statuses.is_closed = 0 AND user_story_id IS NULL AND (fixed_version_id = ? OR project_id = ?)", @sprint.id, @project.id ])
+ :conditions => ["issue_statuses.is_closed = ? AND user_story_id IS NULL AND (fixed_version_id = ? OR project_id = ?)", false, @sprint.id, @project.id ])
@issue_statuses = IssueStatus.find(:all)
@project_users = User.find(:all, :joins => :members, :conditions => ["members.project_id = ?", @project.id])

0 comments on commit 09e7984

Please sign in to comment.