Commit fe83e1ca10ebf7c9058bdc617479e983abfe76c4
1 parent
7c02128a
Exists in
fix_search_by_software_highlight_block
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 | ... | ... |