Commit 32d124b10bccccde249118fe0e77fb693ca6584d

Authored by Rodrigo Souto
1 parent 9ceae77b

[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 110  
111 111 def assets_menu(selected)
112 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 117 content_tag('ul',
114 118 assets.map do |asset|
115 119 options = {}
... ...