Commit fe83e1ca10ebf7c9058bdc617479e983abfe76c4

Authored by Luciano Prestes
1 parent 7c02128a

Fix bug on search by software highlights block

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/ext/search_controller.rb
@@ -89,7 +89,7 @@ class SearchController @@ -89,7 +89,7 @@ class SearchController
89 def get_communities_list software_list 89 def get_communities_list software_list
90 filtered_community_list = [] 90 filtered_community_list = []
91 software_list.each do |software| 91 software_list.each do |software|
92 - if @all_selected || software.public_software? 92 + if !@public_software_selected || software.public_software?
93 filtered_community_list << software.community unless software.community.nil? 93 filtered_community_list << software.community unless software.community.nil?
94 end 94 end
95 end 95 end