diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-07-09 19:53:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-07-09 19:53:13 +0000 |
commit | a573da3b985d005181c61026effaa390d4e62963 (patch) | |
tree | 77094cce956698aaaab06c1de94fdfe6706b2724 /redmine/app | |
parent | f37089f54784da4b457ed19d588e137078977089 (diff) | |
download | redmine-a573da3b985d005181c61026effaa390d4e62963.tar.gz redmine-a573da3b985d005181c61026effaa390d4e62963.zip |
bug in search_filter
git-svn-id: http://redmine.rubyforge.org/svn/trunk@8 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'redmine/app')
-rw-r--r-- | redmine/app/helpers/search_filter_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redmine/app/helpers/search_filter_helper.rb b/redmine/app/helpers/search_filter_helper.rb index 0999dfbcc..a5f0b9158 100644 --- a/redmine/app/helpers/search_filter_helper.rb +++ b/redmine/app/helpers/search_filter_helper.rb @@ -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]
|