effective_datatables 3.7.9 → 3.7.10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6deb8662896755bcf70bcc3c31af6b1c6ad57655048f5265224f439a9752eca6
|
4
|
+
data.tar.gz: 0e733a4037689cbd408e6f9d90a84ad0b930cdca0969bffaf7eb94dfde52812c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fe7db03c252f0e34d589ee86e96444a11db7bae88d38784bc8304e0b278a589b451df46c67edc1c996616fe4d0763a41e152888b314f293596b5a6cd4e4efc0
|
7
|
+
data.tar.gz: 21142fbcf932cf97bb389d87ebc9cc3879e11a2213d70e4697db30771c66d35b657299c2cf18c37521e0b4256f3a362b9bbfca562d890cee1080c093b7940ef0
|
@@ -75,8 +75,10 @@ module Effective
|
|
75
75
|
def search_column(collection, value, column, sql_column)
|
76
76
|
Rails.logger.info "COLUMN TOOL: search_column #{column.to_s} #{value} #{sql_column}" if EffectiveDatatables.debug
|
77
77
|
|
78
|
+
operation = (column[:search][:fuzzy] && column[:as] == :string) ? :matches : :eq
|
79
|
+
|
78
80
|
Effective::Resource.new(collection)
|
79
|
-
.search(column[:name], value, as: column[:as], operation:
|
81
|
+
.search(column[:name], value, as: column[:as], operation: operation, column: sql_column)
|
80
82
|
end
|
81
83
|
|
82
84
|
def paginate(collection)
|
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: 3.7.
|
4
|
+
version: 3.7.10
|
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-05-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|