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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52755380a89261a4f1724ffbb24b987803044c2a
4
- data.tar.gz: ce02ad83fec2f31699b53056b0d1e466fe40808e
3
+ metadata.gz: 7cc65aecf5813eb304729cedce44b15893762cdb
4
+ data.tar.gz: fca65814e3ec5b98de6bb5bab46cfdb821efe846
5
5
  SHA512:
6
- metadata.gz: 453921fa7ad6d5087e299d926fbbf4b7e4a097e01a4009e6e7f207ec081b7178522fd705e023242a746dcc7df70b9c85d39cf3645956211af71a353854c9b9b8
7
- data.tar.gz: 72f5eb56c0520a8d3a2e44b43497f8d4de4aaec5a3ed2256dfd0e302e34f94d6534285d6fd6436e97a2522592476a54f23bb9b617dd77d1089c6b052b70267a8
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
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module Tabulatr
25
- VERSION = "0.9.22"
25
+ VERSION = "0.9.23"
26
26
  end
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.22
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-09 00:00:00.000000000 Z
13
+ date: 2015-09-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails