Skip to content

Commit

Permalink
[api] do not show deleted issues in the webui
Browse files Browse the repository at this point in the history
Fixing issue #141
  • Loading branch information
coolo committed Dec 16, 2012
1 parent 6030cf1 commit ff4e4de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/app/models/bs_request_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ def webui_infos

sourcediff.get('issues').elements('issue') do |issue|
next unless issue['name']
next if issue['state'] == 'deleted'
i = Issue.find_by_name_and_tracker(issue['name'], issue['tracker'])
issues_hash[issue['label']] = i.webui_infos if i
end
Expand Down

0 comments on commit ff4e4de

Please sign in to comment.