Changed default to switched on.

This commit is contained in:
Naida Vatric
2020-01-28 22:28:52 +01:00
parent 98263364c7
commit fa46f75dd3
3 changed files with 5 additions and 6 deletions

View File

@@ -163,8 +163,8 @@ const findRealEstatesForSearchRequest = async (searchRequest, maxResults) => {
[Op.and]: geoSearchQueryPart
};
//Is user checked includeWithoutPrice TRUE then it should return null values of price
//If not then only check for price max and min (this is DEFAULT)
//Is user unchecked includeWithoutPrice FALSE then it shouldn't return null values of price
//If not then null values are accepted (this is DEFAULT)
//includeIncpompleteAds does not have effect on price query
if (includeWithoutPrice) {
query.price = {