trk_datatables 0.2.18 → 0.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/trk_datatables/active_record.rb +2 -1
- data/lib/trk_datatables/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb3467c3ab141d6dbe1105a0465179e41e01cd2e8450899bb4172ef996322261
|
|
4
|
+
data.tar.gz: f618741afb054dc1e3e84552b359a8fc2a95501435ebd9453217efad6e830ece
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ad10d90cf76f721fc239cabd90f2c4893c5e656adffa8bc7f015d08351af27496418b266eb2a06b79461a4c2c2adaa83ac6cabcd14742bd1b8c9791e4188c81
|
|
7
|
+
data.tar.gz: bad03e751bf616c3280f400fa2a339b9b02733354d3d722472c089432de7bff97204c73c3e1d4de5bac07f964ccf276176f10f139051f7e2897d84ad84b181dd
|
data/Gemfile.lock
CHANGED
|
@@ -23,7 +23,8 @@ module TrkDatatables
|
|
|
23
23
|
column_key_option = @column_key_options[dt_column[:index]]
|
|
24
24
|
next if column_key_option[:column_options][ColumnKeyOptions::SEARCH_OPTION] == false
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
condition = build_condition_for_column(column_key_option, dt_column[:search_value])
|
|
27
|
+
cond << condition if condition.present?
|
|
27
28
|
end.reduce(:and) # 'and' for each searchable column
|
|
28
29
|
|
|
29
30
|
filtered.where conditions
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trk_datatables
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dusan Orlovic
|
|
@@ -257,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
257
257
|
- !ruby/object:Gem::Version
|
|
258
258
|
version: '0'
|
|
259
259
|
requirements: []
|
|
260
|
-
rubygems_version:
|
|
260
|
+
rubygems_version: 4.0.16
|
|
261
261
|
specification_version: 4
|
|
262
262
|
summary: Gem that simplify using datatables with Ruby on Rails and Sinatra.
|
|
263
263
|
test_files: []
|