effective_datatables 3.7.8 → 3.7.9

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
  SHA256:
3
- metadata.gz: 38eec9522fdd8de424386c526871a7953c855f76d0c704a4f423fb733c2f94b6
4
- data.tar.gz: 5977d5f6c3a49c1aeb28b9eca4eeba0689e7b03768dd276bccc3323870d0523d
3
+ metadata.gz: b6619fc2ad39de48007f07293245a0ffece5d2cf9ec29690b1b248b36cd06a68
4
+ data.tar.gz: 2d1fb883b54b2d88b2ce5a48debfb05450e5895724bb9ebbdbd6df5aa68f0547
5
5
  SHA512:
6
- metadata.gz: 926539ee80184218783912a302bdd4f5a371c4d6c27b6a96ab414d4c3b03536da0cf23b6669342aebfb5cd208ef2ca984bcc645bd27517981cee024420b5a04b
7
- data.tar.gz: cdab59641cc16f52ec8444b7efcde008e8c57902938d04a214e8c801b7446616212ea21a826ba5668a2b089cd9db99c760444146d4c4f30a00fa53f1f05a88ab
6
+ metadata.gz: dafb28f5f0b675df2255656bd7a362e184d60b48a000c4a1c03966ea7bc5d18131c06e594db03950f8339d855031e84aed18ded3fa916a565b2cef2aa81d0cba
7
+ data.tar.gz: be6c25366961b8b00998bf1d2122abc403d44d5fb14af5ae6ba5b073da42e715747a1847d5d072585d5c1f79416a65fcc906eb068f09fa39627d135db0f88a3c
@@ -76,7 +76,7 @@ module Effective
76
76
  Rails.logger.info "COLUMN TOOL: search_column #{column.to_s} #{value} #{sql_column}" if EffectiveDatatables.debug
77
77
 
78
78
  Effective::Resource.new(collection)
79
- .search(column[:name], value, as: column[:as], fuzzy: column[:search][:fuzzy], sql_column: sql_column)
79
+ .search(column[:name], value, as: column[:as], operation: (column[:search][:fuzzy] ? :matches : :eq), column: sql_column)
80
80
  end
81
81
 
82
82
  def paginate(collection)
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '3.7.8'.freeze
2
+ VERSION = '3.7.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_datatables
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.8
4
+ version: 3.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect