caboose-rets 0.1.103 → 0.1.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0fd2939089c2a68c8e2143f920cb0ddb440f10cbb706fa399f1cd27dbd37152
4
- data.tar.gz: 4a0e92a477e9272c20e81abe36a22ea029bbc7a2e4c75741bdd744d2bc326b89
3
+ metadata.gz: 1c9f8f8ef18191947db277c8ea22243b27337bfed20e0d3f3076d1bce66522b2
4
+ data.tar.gz: b75b6ed965b3dceaf571dbcf864c7da5ea065d1d6484018608319f3b6956bb84
5
5
  SHA512:
6
- metadata.gz: 11eaa832188351ded37500925cb007d568712c5f119e023845faaa0743e06051864b4e380dcd596f3916f1ad40b938cf99c35330ab491a4724c0ef5357ea8288
7
- data.tar.gz: b1a3b166b1df83a4d187937416bad99d4b3d69ae8d4643a4c5b2c5d040caf2bec5c3474b70c4bfa489f70168b546c26416e852ffd2a51fde2124b4e6c328884d
6
+ metadata.gz: 0ac0dbc25e46f552a1a6915c8021ae9a5ef6751758cf873e430a967d025a04547c41d90131f14355d9943a40e0a410f1564f0aa337211d45c88636fd76490230
7
+ data.tar.gz: 9f067c17ce63d3bf9c94dddb9dfc58ad3878556f94c608fbfa351d8e66892fb5a44bc77709c65a9e17fc9582fe314649004af04d8de11c71d1bff5b0fe866f0a
@@ -96,7 +96,7 @@ module CabooseRets
96
96
  # @route GET /properties/:mls_number/details
97
97
  def details
98
98
  @property = Property.where(:mls_number => params[:mls_number]).first
99
- @agent = Agent.where(:matrix_unique_id => @property.list_agent_mui, :office_mls_id => @site.rets_office_id).first if @property
99
+ @agent = Agent.where(:matrix_unique_id => @property.list_agent_mui).where("office_mls_id ILIKE ?", @site.rets_office_id).first if @property
100
100
  @saved = logged_in? && SavedProperty.where(:user_id => logged_in_user.id, :mls_number => params[:mls_number]).exists?
101
101
  if @property.nil?
102
102
  @mls_number = params[:mls_number]
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.103'
2
+ VERSION = '0.1.104'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-rets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.103
4
+ version: 0.1.104
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry