Skip to content

Commit

Permalink
Fix selecting ALL filter and changing it to default on Physical Infra
Browse files Browse the repository at this point in the history
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1567416

Fix selecting ALL filter and changing it to default on Physical Infra page
(in Compute -> Physical Infrastructure -> Servers), also on Hosts page.
  • Loading branch information
Hilda Stastna committed May 4, 2018
1 parent b920eeb commit 679df2c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/application_controller/filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ def listnav_search_selected(id = nil)
@edit = session[:edit]
@edit[:selected] = true # Set a flag, this is checked whether to load initial default or clear was clicked
if id.to_i.zero?
@edit[:selected] = false
clear_selected_search
else
load_selected_search(id)
Expand Down

0 comments on commit 679df2c

Please sign in to comment.