effective_datatables 4.0.3 → 4.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f596002df72c86d000cc0f5abb778641e343cf8
4
- data.tar.gz: 7c070f8910dbec3822eabb64a22e1aff9006f3c4
3
+ metadata.gz: a8dde14a2c549834fa79c68dc0631d892cd13e16
4
+ data.tar.gz: 0a6c3c8a8b7b2b3ace863ff3529eb42e50c1fd5c
5
5
  SHA512:
6
- metadata.gz: 5e39ad0c4baf8063c4157269ddd387121fb5ab12907355cb7d9471b3d9d86f2f750664793bbcf76768444a700a6c30b76cf669ba9c8016d78cb64308df2144e3
7
- data.tar.gz: 41a6ffc8fc6a9d16ec96ea7799a85d2c3137fb89f930d9928ba18b0fdf909056e09eab106374962f5d54c22cd124f7716f6e0d989266d2643a8a14defcd43d8d
6
+ metadata.gz: df0878341b50d73ab2cae46045d436e21f0c755790786fdab0c4763d5085a25f1fcaa94ce9cd06ff4bf4cef3d731279cc499c875b28f58931f4443164be5fba6
7
+ data.tar.gz: 6ff3ca409d916d1e32809e2b65676128f0171b275a84286b00d2cdfb9b30a3257b5d21ba1a4ebe01d3842cdc2e7f30764c3007f863777cd29846d42313506e29
@@ -148,7 +148,7 @@ module Effective
148
148
 
149
149
  if array_collection? && opts[:resource].present?
150
150
  search.reverse_merge!(resource.search_form_field(name, collection.first[opts[:index]]))
151
- else
151
+ elsif search[:as] != :string
152
152
  search.reverse_merge!(resource.search_form_field(name, opts[:as]))
153
153
  end
154
154
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.0.3'.freeze
2
+ VERSION = '4.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_datatables
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.3
4
+ version: 4.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-27 00:00:00.000000000 Z
11
+ date: 2018-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails