tabulatr2 0.9.22 → 0.9.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tabulatr/data/filtering.rb +1 -1
- data/lib/tabulatr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cc65aecf5813eb304729cedce44b15893762cdb
|
4
|
+
data.tar.gz: fca65814e3ec5b98de6bb5bab46cfdb821efe846
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f976950ab4491a9fc32029fa7c6a36a9fe83c4612c8911784b39da1aeb7d4753706407cbb21aad6402ffb307b1e19d423791cddc55c8852329337f7089e3206e
|
7
|
+
data.tar.gz: 600284636f985253ff4785bdd128cf9e224f0d9a9504abeef1a580f08862896901ef531d1c8d7b017a94868834c72074cd2d00cc387d4c2a2253bfa8a61a6c95
|
@@ -30,7 +30,7 @@ module Tabulatr::Data::Filtering
|
|
30
30
|
query = query.strip.gsub(/['*%\s]+/, '%')
|
31
31
|
a = @search.map do |name|
|
32
32
|
column = table_columns.find{|c| c.name == name}
|
33
|
-
nn = column ? column.filter_sql : name
|
33
|
+
nn = column ? column.col_options.filter_sql : name
|
34
34
|
# nn = build_column_name name, use_for: :filter
|
35
35
|
"(#{nn} #{like} '%#{query}%')"
|
36
36
|
end
|
data/lib/tabulatr/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tabulatr2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Horn
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-09-
|
13
|
+
date: 2015-09-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|