Permalink
Browse files

Postgresql bug fix from cfiorini

  • Loading branch information...
1 parent 7b05133 commit fb7e3942e118ee1db04b3728831f66d9db7f1bba Marcin Jędras committed Mar 18, 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,
- :conditions => ["user_story_id IS NULL AND (fixed_version_id = ? || project_id = ?)", @sprint.id, @project.id ])
+ :conditions => ["user_story_id IS NULL AND (fixed_version_id = ? OR project_id = ?)", @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 fb7e394

Please sign in to comment.