bug in search_filter
git-svn-id: http://redmine.rubyforge.org/svn/trunk@8 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f37089f547
commit
a573da3b98
|
@ -33,6 +33,7 @@ module SearchFilterHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def search_filter_clause
|
def search_filter_clause
|
||||||
|
session[:search_filter] ||= {}
|
||||||
clause = ["1=1"]
|
clause = ["1=1"]
|
||||||
@search_filter.each { |k, v|
|
@search_filter.each { |k, v|
|
||||||
filter_value = session[:search_filter][k] || v[:options][0][1]
|
filter_value = session[:search_filter][k] || v[:options][0][1]
|
||||||
|
|
Loading…
Reference in New Issue