Skip to content

Commit

Permalink
Merge pull request #3656 from hstastna/Wrong_title_service_details_se…
Browse files Browse the repository at this point in the history
…arch_text

Fix title in service details page when searching text
  • Loading branch information
mzazrivec authored Apr 13, 2018
2 parents 882286d + 18ba102 commit e2a408e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/service_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def get_node_info(treenodeid, _show_list = true)
process_show_list
@right_cell_text = _("All Services")
end
@right_cell_text += _(" (Names with \"%{search_text}\")") % {:search_text => @search_text} if @search_text.present?
@right_cell_text += _(" (Names with \"%{search_text}\")") % {:search_text => @search_text} if @search_text.present? && @nodetype != 's'
@right_cell_text += @edit[:adv_search_applied][:text] if x_tree && @edit && @edit[:adv_search_applied]

if @edit && @edit.fetch_path(:adv_search_applied, :qs_exp) # If qs is active, save it in history
Expand Down

0 comments on commit e2a408e

Please sign in to comment.