active_scaffold_vho 3.0.14 → 3.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{active_scaffold_vho}
8
- s.version = "3.0.14"
8
+ s.version = "3.0.15"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Many, see README"]
@@ -118,7 +118,8 @@ module ActiveScaffold
118
118
  def field_search_params_range_values(column)
119
119
  values = field_search_params[column.name]
120
120
  return nil if values.nil?
121
- return values[:opt], values[:from], values[:to]
121
+ return values[:opt], (values[:from].blank? ? nil : values[:from]), (values[:to].blank? ? nil : values[:to])
122
+
122
123
  end
123
124
 
124
125
  def active_scaffold_search_range_comparator_options(column)
@@ -2,7 +2,7 @@ module ActiveScaffold
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- PATCH = 14
5
+ PATCH = 15
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_vho
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 14
10
- version: 3.0.14
9
+ - 15
10
+ version: 3.0.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Many, see README