Commit f255942453f40769710d0e170a4e917e7f123ce7

Authored by Luciano Prestes
Committed by Tallys Martins
1 parent 7c02128a
Exists in stable

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