effective_datatables 4.15.0 → 4.15.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 912f48109a916890adbbad18c1058045d815203f13bd130d5f152cd7fb831dcb
|
4
|
+
data.tar.gz: 1e1438c39beed755b3c1d095d35568fa292c59680e1e60b1c79e775f88205419
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7720dd73963000639ee65ef9113182491ff8c485d19a6ce7e214b1af45efdca91ff9ff303e2c90450d0935543cdebe780ae5e441f69f1b7482e0355ddbf0da33
|
7
|
+
data.tar.gz: 031335f7c000193c45caeff8d362267277ea0f19ded4e117eb7c00aee6ccfdbed31671d63c8f41648cfcf9d6b98719d7b90774d3d806fdfa10ce0d0a9fff0aee
|
@@ -204,9 +204,9 @@ table.dataTable.hide-buttons {
|
|
204
204
|
|
205
205
|
// Column specific adjustments
|
206
206
|
table.dataTable {
|
207
|
-
td.col-price { text-align: right; }
|
208
|
-
td.col-decimal { text-align: right; }
|
209
|
-
td.col-right { text-align: right; }
|
207
|
+
th.col-price, td.col-price { text-align: right; }
|
208
|
+
th.col-decimal, td.col-decimal { text-align: right; }
|
209
|
+
th.col-right, td.col-right { text-align: right; }
|
210
210
|
|
211
211
|
td.col-bulk_actions {
|
212
212
|
label {
|
@@ -232,5 +232,3 @@ table.dataTable {
|
|
232
232
|
|
233
233
|
td.col-resource_item { word-break: keep-all; }
|
234
234
|
}
|
235
|
-
|
236
|
-
|
@@ -95,7 +95,9 @@ module Effective
|
|
95
95
|
value = obj_to_value(row[index], column, row)
|
96
96
|
next if value.nil? || value == ''
|
97
97
|
|
98
|
-
|
98
|
+
obj_equals = obj.respond_to?(column[:name]) && obj.send(column[:name]).to_s.downcase == term_downcased
|
99
|
+
|
100
|
+
obj_equals || case column[:as]
|
99
101
|
when :boolean
|
100
102
|
if fuzzy
|
101
103
|
term ? (obj == true) : (obj != true)
|
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.15.
|
4
|
+
version: 4.15.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-02
|
11
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|