caboose-rets 0.1.32 → 0.1.33
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: 1481112941de17add0c10a39a2e6bd90648ef482
|
4
|
+
data.tar.gz: 93162472ae3049a2eb89f57d81250115d3d29e58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bb8400c3f1abc160dbc177eae1bd273b638a5e11cbef4062ad8f434e6fe2efad1fc6ec65edeaaf97331fc79f6ffe06d8e8782370ac4920c9e4f595909846e1c
|
7
|
+
data.tar.gz: 048dd31126941dc05610a963d75ec9a5e94db495496393f75e116e4de7b81b676636c81cb7129e2f88eb884784f1935a3aa4b51ef4b944a3e7a96b2941054b83
|
@@ -19,7 +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
|
-
|
22
|
+
where = @site && @site.id == 558 ? "(style = 'Condo')" : "()"
|
23
23
|
@pager = Caboose::PageBarGenerator.new(params, {
|
24
24
|
'area' => '',
|
25
25
|
'area_like' => '',
|
@@ -68,7 +68,8 @@ module CabooseRets
|
|
68
68
|
},
|
69
69
|
'skip' => ['status'],
|
70
70
|
'base_url' => '/properties',
|
71
|
-
'items_per_page' => 10
|
71
|
+
'items_per_page' => 10,
|
72
|
+
'additional_where' => [ (where) ]
|
72
73
|
})
|
73
74
|
|
74
75
|
@properties = @pager.items
|
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.33
|
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-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|