Skip to content

Commit

Permalink
Merge pull request #3740 from hstastna/After_select_filter_search_cle…
Browse files Browse the repository at this point in the history
…ared_datastores

Fix clearing search after selecting filter in Datastores
  • Loading branch information
mzazrivec committed Apr 10, 2018
2 parents 276e0d1 + 762808e commit 5018838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/storage_controller.rb
Expand Up @@ -413,7 +413,7 @@ def apply_node_search_text
current_nodetype = search_text_type(@sb[:storage_search_text][:current_node])

@sb[:storage_search_text]["#{previous_nodetype}_search_text"] = @search_text
@search_text = @sb[:storage_search_text]["#{current_nodetype}_search_text"]
@search_text = @sb[:storage_search_text]["#{current_nodetype}_search_text"] || @sb[:search_text]
@sb[:storage_search_text]["#{x_active_accord}_search_text"] = @search_text
end

Expand Down

0 comments on commit 5018838

Please sign in to comment.