Permalink
Browse files

always search unsupported for now

  • Loading branch information...
digitaltom committed Apr 18, 2012
1 parent de7dd2e commit d92c633f858407e95ed9a65f5e774f91ff635df0
Showing with 2 additions and 2 deletions.
  1. +2 −0 app/controllers/application_controller.rb
  2. +0 −2 app/controllers/search_controller.rb
@@ -132,6 +132,8 @@ def set_search_options
@search_devel = params[:search_devel] unless params[:search_devel].blank?
@search_unsupported = cookies[:search_unsupported] unless cookies[:search_unsupported] .blank?
@search_unsupported = params[:search_unsupported] unless params[:search_unsupported].blank?
+ #FIXME: remove @search_unsupported when redesigning search options
+ @search_unsupported = "true"
@search_devel = ( @search_devel == "true" ? true : false )
@search_project = params[:search_project]
@search_unsupported = ( @search_unsupported == "true" ? true : false )
@@ -7,8 +7,6 @@ def searchresult
render 'find' and return if @search_term.blank?
base = ( @baseproject == "ALL" ) ? "" : @baseproject
- #FIXME: remove @search_unsupported when redesigning search options
- @search_unsupported = true
#if we have a baseproject, and don't show unsupported packages, shortcut: '
if !@baseproject.blank? && !( @baseproject == "ALL" ) && !@search_unsupported && !@search_project

0 comments on commit d92c633

Please sign in to comment.