lato 3.5.6 → 3.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/lato/componentable.rb +1 -1
- data/lib/lato/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: 40b2fafa7e4cfad77b5b9688acc2403906dc81aaf32770d7a1ee0504226a2d85
|
4
|
+
data.tar.gz: 70880d05d4f1d6a6d9d766e100a6a372428f1216f97c55536ce9db81a371b45e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19a4ed51d714596e89402f1c5de57d1a96ea287f62949fb7ecf16e6cfcad5b12d3dc089e7b8c4c63a447d57d92f544c0dd417a1ee179ee01600fc4c8b6307b67
|
7
|
+
data.tar.gz: 75d9a24c89ea2bb21dbf7beb7a1bf248e55d10a15324a9487e7244473c9147a669266b72431b1ea49441e3114b204993afe274e93bafc36c57005950311e0d66
|
@@ -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(#{k}) LIKE :search" }
|
40
|
+
query = @_lato_index[key][:searchable_columns].map { |k| "lower(string(#{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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregorio Galante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|