caboose-cms 0.9.62 → 0.9.63
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/caboose/products_controller.rb +2 -2
- data/lib/caboose/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: 7d8d3813a766f7029297bb4f08ee73dac892e4e8
|
4
|
+
data.tar.gz: efa67048c5b4d6de6d255f69fb64252da1fa40e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e36b85117b20a2909c007d969c7bb3819f2fa81c5313274fb941909149ba3ef64c5409b6a94c7ce27d2bbc4504530389729721881c716fb5f6c6befbf112c281
|
7
|
+
data.tar.gz: 2a15256ba40389fb2fd52dfe0d11fbce6463c53a79b4711a6254b705eb87231bd6eb88f948002f05734db9451ac58197b415fa81fc3d744b34a229f50be4c0b5
|
@@ -13,8 +13,8 @@ module Caboose
|
|
13
13
|
title = params[:title] ? params[:title].strip.downcase.split(' ') : nil
|
14
14
|
render :json => [] and return if title.nil? || title.length == 0
|
15
15
|
|
16
|
-
where = ["site_id = ?"]
|
17
|
-
vars = [@site.id]
|
16
|
+
where = ["site_id = ?","status = ?"]
|
17
|
+
vars = [@site.id, 'Active']
|
18
18
|
title.each do |str|
|
19
19
|
where << 'lower(title) like ?'
|
20
20
|
vars << "%#{str}%"
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.63
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|