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 +4 -4
- data/app/controllers/concerns/lato/componentable.rb +1 -1
- data/lib/lato/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b04945a750538aecdc08a8b8632aa661c3e08f7def4fad9b5b9fa1621dd09e80
|
4
|
+
data.tar.gz: 717437c493529ac4eb5da90ce0e38c917980e388e68bff2475ff37646d40fea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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