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: 1cbdd54cc18543be4ee9dea14dd30d63a6b70714
4
- data.tar.gz: 2f4bab3f290998df5af2607ff35c2077ca6c3b85
3
+ metadata.gz: d65e4b7febc35fefebeac76487b6788f0f0b5e53
4
+ data.tar.gz: 26597dc5b883ee6b78099addcdb0c226d2d5a4ca
5
5
  SHA512:
6
- metadata.gz: 49c74ff33ba76bf4c931962a0486b0f0a573c04fbe8c24c5e57227b45d03ce640987deca1cecc16b730778f8db379309d318fa6d4dce54800d4aae3273bd1334
7
- data.tar.gz: 414868d12fe1591dc127674cc11a97c338b23ee2b80bcc82d06b47faa4a2df202308ff0fbd1280c817a38b2e69f3f415cffb11483dce5199642149387e6084cb
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 = 'Condo' OR res_style = 'Condo')" : "(id is not null)"
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' => '',
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.58'
2
+ VERSION = '0.1.59'
3
3
  end
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.58
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-10-16 00:00:00.000000000 Z
11
+ date: 2018-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: caboose-cms