Hello,
I'm running OS Property 2.9.9.
I found and fixed two bugs on compare list.
I report here. Please validate these bug-fixes.
(and if so, I hope these are going to be applied to the following release)
1. For properties with "Call for price", those price are still visible on the compare list.
Line 255 of /components/com_osproperty/classes/compare.html.php
Code:
if($property->price > 0){
should be :
Code:
if($property->price_call == 0 and $property->price > 0){
2. for the "Neighborhood" row, string "N/A" always appears after the neighborhood table.
Line 455 - 460 of /components/com_osproperty/classes/compare.html.php
Code:
$neighborhood = HelperOspropertyCommon::loadNeighborHood($comparisionArr[$i]->property->id);
if($neighborhood != ""){
echo $neighborhood;
}else{
echo "N/A";
}
should be :
Code:
HelperOspropertyCommon::loadNeighborHood($comparisionArr[$i]->property->id);