bug in search_filter

git-svn-id: http://redmine.rubyforge.org/svn/trunk@8 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2006-07-09 19:53:13 +00:00
parent f37089f547
commit a573da3b98
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ module SearchFilterHelper
end
def search_filter_clause
session[:search_filter] ||= {}
clause = ["1=1"]
@search_filter.each { |k, v|
filter_value = session[:search_filter][k] || v[:options][0][1]