effective_datatables 4.14.1 → 4.14.2

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: 9504d0adc46bb18b44f0f39600966cbd7706c10598874a21c932ff7b00089032
4
- data.tar.gz: 6cc0623cb402890be52af4179ad4083707778454c6846465844fc8f2cd766588
3
+ metadata.gz: a5491d6a05966b96b5e693b56f12063faae6bc73023af3b80a912e9c86cf1f5f
4
+ data.tar.gz: 409e0101d6ee6f450bd76530814bb3e2a096c58acfd863eee22843c154023e2e
5
5
  SHA512:
6
- metadata.gz: 85e973dfd64010d90dba19b4124e15fe08bfaa17222d28adcefdd756d9566a066494222196f5e19b2d43b8f999fa6670ac0e658272c87406845cb355dd24bd8f
7
- data.tar.gz: 94f3f5d792fefad761279f1ba8955aa878ead86188d5d68737594da33c74b8d00d02a4f2fab708b3f31d302baa38b19c5abfcb164c5d7c9ba1a17febeb0773dd
6
+ metadata.gz: fa622fce78f2aaeb690221f9efa52e70c9f1376b3971234c1a9d342b8a84e5f3c6d83cf1144b1a1c7159627d59f5beb761e13f9ec15623a4d149f46092ecc0dd
7
+ data.tar.gz: 00a5f55efd132ea4aef1b989fd8d5d346228ddc0696c692580f1177e47ce2cce9f5dba9e46a25992ee35ab2001165ccc7ba57c0b93baba6a758237f78e1e2e68
@@ -79,7 +79,7 @@ module Effective
79
79
  def search_column(collection, original, column, index)
80
80
  Rails.logger.info "VALUE TOOL: search_column #{column.to_s} #{original} #{index}" if EffectiveDatatables.debug
81
81
 
82
- fuzzy = column[:search][:fuzzy]
82
+ fuzzy = (column[:search][:operation] == :matches)
83
83
 
84
84
  term = Effective::Attribute.new(column[:as]).parse(original, name: column[:name])
85
85
  term_downcased = term.to_s.downcase
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.14.1'.freeze
2
+ VERSION = '4.14.2'.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.14.1
4
+ version: 4.14.2
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: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails