Commit 32d124b10bccccde249118fe0e77fb693ca6584d
1 parent
9ceae77b
Exists in
master
and in
29 other branches
[search-improvements] Remove events from search assets menu
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
app/helpers/search_helper.rb
@@ -110,6 +110,10 @@ module SearchHelper | @@ -110,6 +110,10 @@ module SearchHelper | ||
110 | 110 | ||
111 | def assets_menu(selected) | 111 | def assets_menu(selected) |
112 | assets = @enabled_searches.keys | 112 | assets = @enabled_searches.keys |
113 | + # Events is a search asset but do not have a good interface for | ||
114 | + #TODO searching. When this is solved we may add it back again to the assets | ||
115 | + # menu. | ||
116 | + assets.delete(:events) | ||
113 | content_tag('ul', | 117 | content_tag('ul', |
114 | assets.map do |asset| | 118 | assets.map do |asset| |
115 | options = {} | 119 | options = {} |