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 89 def get_communities_list software_list
90 90 filtered_community_list = []
91 91 software_list.each do |software|
92   - if @all_selected || software.public_software?
  92 + if !@public_software_selected || software.public_software?
93 93 filtered_community_list << software.community unless software.community.nil?
94 94 end
95 95 end
... ...