Skip to content

Commit

Permalink
Don't use any filter for :user when filling the backlog
Browse files Browse the repository at this point in the history
  • Loading branch information
edavis10 committed Jan 4, 2011
1 parent 7a2eb24 commit ca8cb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/kanban.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def backlog_issues_for(options={})
backlog_issues_with_fill = backlog_issues(backlog_issues_additional_options.merge(fill_options))

if backlog_issues_with_fill.present?
fill_issues = filter_issues(backlog_issues_with_fill, :project => project, :user => user)
fill_issues = filter_issues(backlog_issues_with_fill, :project => project, :user => nil)
# Sort by priority but appended to existing issues
# [High, Med, Low] + [High, Med, Low], not [High, High, Med, Med, Low, Low]
fill_issues = fill_issues.sort_by(&:priority)
Expand Down

0 comments on commit ca8cb4e

Please sign in to comment.