lato 3.5.7 → 3.5.8

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: 40b2fafa7e4cfad77b5b9688acc2403906dc81aaf32770d7a1ee0504226a2d85
4
- data.tar.gz: 70880d05d4f1d6a6d9d766e100a6a372428f1216f97c55536ce9db81a371b45e
3
+ metadata.gz: b04945a750538aecdc08a8b8632aa661c3e08f7def4fad9b5b9fa1621dd09e80
4
+ data.tar.gz: 717437c493529ac4eb5da90ce0e38c917980e388e68bff2475ff37646d40fea9
5
5
  SHA512:
6
- metadata.gz: 19a4ed51d714596e89402f1c5de57d1a96ea287f62949fb7ecf16e6cfcad5b12d3dc089e7b8c4c63a447d57d92f544c0dd417a1ee179ee01600fc4c8b6307b67
7
- data.tar.gz: 75d9a24c89ea2bb21dbf7beb7a1bf248e55d10a15324a9487e7244473c9147a669266b72431b1ea49441e3114b204993afe274e93bafc36c57005950311e0d66
6
+ metadata.gz: 01d49b48a8bef85902bd4c0b1b21f1a5d7b06789f468b686972ade21546f5e5be6507a1d2fe592dc83b79d364d62576babbe306068febe815ef16604f5b40fcd
7
+ data.tar.gz: ac98e3240955cfb5a1c23b30c84c733480e9780d2747fc2ea9aea9a1c2a3828a9b59229c1cabd9d037237fd9350d8be7bcde4a72b0aeeccc4a8ffd13e35fc582
@@ -37,7 +37,7 @@ module Lato
37
37
  if collection.respond_to?(:lato_index_search)
38
38
  collection = collection.lato_index_search(search)
39
39
  else
40
- query = @_lato_index[key][:searchable_columns].map { |k| "lower(string(#{k})) LIKE :search" }
40
+ query = @_lato_index[key][:searchable_columns].map { |k| "lower(#{k}) LIKE :search" }
41
41
  collection = collection.where(query.join(' OR '), search: "%#{search.downcase.strip}%")
42
42
  end
43
43
  end
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "3.5.7"
2
+ VERSION = "3.5.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.7
4
+ version: 3.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante