Skip to content

Commit

Permalink
Fix Control explorer policies Search clear button
Browse files Browse the repository at this point in the history
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1563316

Fix Search clear button when searching text under Control -> Explorer screens.
  • Loading branch information
Hilda Stastna committed Apr 10, 2018
1 parent 5018838 commit 6f606ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/miq_policy_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,7 @@ def set_search_text
@search_text = params[:search_text].strip
@sb[:pol_search_text][x_active_tree] = @search_text unless @search_text.nil?
else
@sb[:pol_search_text].delete(x_active_tree) if params[:action] == 'adv_search_text_clear'
@search_text = @sb[:pol_search_text][x_active_tree]
end
end
Expand Down

0 comments on commit 6f606ad

Please sign in to comment.