Commit 7367cafd9c92d8c0fa8393297a6138d3ff75f5d0
Committed by
Tallys Martins
1 parent
ec4d3838
Exists in
master
and in
3 other branches
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 | ... | ... |