Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3617 → Rev 3618

/trunk/jrest/services/CelWidgetMapPoint.php
586,7 → 586,7
$sql = " AND (latitude LIKE $lat AND longitude LIKE $lng) ";
}
}
$sql .= ' AND (localite_floutage IS NULL OR localite_floutage = "précise" ) ';
$sql .= ' AND (localisation_floutage IS NULL OR localisation_floutage = "précise" ) ';
return $sql;
}
 
972,7 → 972,7
"(latitude = '000null' OR latitude = '' OR latitude = 0 OR latitude IS NULL) AND ".
"(longitude = '000null' OR longitude = '' OR longitude = 0 OR longitude IS NULL) ".
')'.
' OR localite_floutage IN ("localité", "10x10km")'.
' OR localisation_floutage IN ("localité", "10x10km")'.
') ';
return $sql;
}