diff options
| author | Zog | 2018-04-13 16:36:30 +0200 | 
|---|---|---|
| committer | cedricnjanga | 2018-04-13 14:29:01 -0700 | 
| commit | 4cfa4839012f52e87be7b44f54f8b03374046786 (patch) | |
| tree | 683cc237e9bd681a7083a8042f911123732e6bd1 /app | |
| parent | 9e76f949e16711239d07872c6373c98aede6f06f (diff) | |
| download | chouette-core-4cfa4839012f52e87be7b44f54f8b03374046786.tar.bz2 | |
Refs #6435; Fix inconsistent filters behaviour
Diffstat (limited to 'app')
| -rw-r--r-- | app/helpers/search_helper.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index be70d974d..16081b660 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -15,7 +15,7 @@ module SearchHelper        if val.is_a?(Array)          active = val.any? &:present?        elsif val.is_a?(Hash) -        active = val.values.any? &:present? +        active = val.values.any? {|v| v.present? && v != "false" }        else          active = true        end | 
