Skip to content

Commit

Permalink
[webui] fix release request handling in maintenance incident page obs…
Browse files Browse the repository at this point in the history
…#1792
  • Loading branch information
adrianschroeter committed May 18, 2016
1 parent 0762a28 commit f838ee6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<% rqs_out = BsRequest.list_ids(roles: %w(source), states: %w(new review declined),
types: %w(maintenance_release), project: incident.name) %>
<% if rqs_out.present? %>
<% BsRequest.where(number: rqs_out).order('bs_requests.number').each do |rq_out| %>
<% BsRequest.where(id: rqs_out).order('bs_requests.number').each do |rq_out| %>
<% text = "Release request in state '#{rq_out['state']}'" %>
<%= link_to(sprite_tag(map_request_state_to_flag(rq_out['state'].to_s), title: text),
request_show_path(number: rq_out["number"])) %>
Expand Down

0 comments on commit f838ee6

Please sign in to comment.