caboose-rets 0.1.58 → 0.1.59
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d65e4b7febc35fefebeac76487b6788f0f0b5e53
|
4
|
+
data.tar.gz: 26597dc5b883ee6b78099addcdb0c226d2d5a4ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c61922df55e4815d5b493f620d924e407bb88a0dedffc73b5e8b8cdd8e9db750bd64163da22f60006fe0ec1ab5b6436474454e2acfff37a5f2dc460c39933737
|
7
|
+
data.tar.gz: 9d4faf1f9a14147a5af365fcbae8ef8273c3311466d918476b0abb900dd0da063d3fb67e6234b89c9794e93025ddfe1ac3882a9c1b07cc83aee007142e8f6222
|
@@ -19,9 +19,7 @@ module CabooseRets
|
|
19
19
|
params[:street_name_like][0] = '' if params[:street_name_like][0].to_i == 0
|
20
20
|
end
|
21
21
|
end
|
22
|
-
where = @site && @site.id == 558 ? "(style
|
23
|
-
# where2 = params[:keyword].blank? ? "(id is not null)" : "(mls_number ILIKE ? or public_remarks ILIKE ? or street_name ILIKE ? or subdivision ILIKE ?)"
|
24
|
-
# terms2 = params[:keyword].blank? ? nil : ["%#{params[:keyword]}%","%#{params[:keyword]}%","%#{params[:keyword]}%","%#{params[:keyword]}%"]
|
22
|
+
where = @site && @site.id == 558 ? "(style ILIKE '%condo%' OR res_style ILIKE '%condo%' OR property_subtype ILIKE '%condo%')" : "(id is not null)"
|
25
23
|
sortby = @site && @site.id == 558 ? "original_entry_timestamp" : CabooseRets::default_property_sort
|
26
24
|
@pager = Caboose::PageBarGenerator.new(params, {
|
27
25
|
'area' => '',
|
data/lib/caboose_rets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-rets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.59
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|