Skip to content

Commit

Permalink
Update: Added SourceKey Field
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Rudy committed Dec 5, 2014
1 parent c318c7c commit 4d81dff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/RETSBridges/CREAConvert.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ static public function Convert($MLSListing, $class, $MLSRecord) {
$MLSListing->UpdatedTimestamp = $MLSRecord['ModificationTimestamp'];
$MLSListing->Washrooms = $MLSRecord['BathroomsTotal'];
$MLSListing->Zoning = $MLSRecord['Zoning'];
$MLSListing->SourceKey = $MLSRecord['ListingKey'];

return $MLSListing;
}
Expand Down
1 change: 1 addition & 0 deletions code/RETSBridges/TREBConvert.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ static public function Convert($MLSListing, $class, $MLSRecord) {
$MLSListing->UpdatedTimestamp = $MLSRecord['Timestamp_sql'];
$MLSListing->Washrooms = $MLSRecord['Bath_tot'];
$MLSListing->Zoning = $MLSRecord['Zoning'];
$MLSListing->SourceKey = $MLSRecord['Ml_num'];

return $MLSListing;
}
Expand Down

0 comments on commit 4d81dff

Please sign in to comment.