From 566f9c4345b57703cc9cc5a860858799210e3780 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Tue, 15 Oct 2019 18:46:11 +0200 Subject: [PATCH] fix null value for garden size when real estate type is changed --- app/common/enums.js | 3 ++- app/controllers/queryReview.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/common/enums.js b/app/common/enums.js index d851854..0601a9e 100644 --- a/app/common/enums.js +++ b/app/common/enums.js @@ -86,7 +86,8 @@ const AD_CATEGORY = { title: "Vikendica", hasGardenSize: true, priceSliderOptions: PRICE_SLIDER_OPTIONS, - sizeSliderOptions: HOME_SIZE_SLIDER_OPTIONS + sizeSliderOptions: HOME_SIZE_SLIDER_OPTIONS, + gardenSizeSliderOptions: GARDEN_SIZE_SLIDER_OPTIONS } }; diff --git a/app/controllers/queryReview.js b/app/controllers/queryReview.js index 79c9fe6..294d07d 100644 --- a/app/controllers/queryReview.js +++ b/app/controllers/queryReview.js @@ -37,7 +37,7 @@ const getQueryReviewData = searchRequest => { { id: "realEstateType", title: realEstateTypeTitle, - url: `/vrstanekretnine/${id}?nextStep=pregled` + url: `/vrstanekretnine/${id}?nextStep=filteri` }, { id: "location",