From 11e76f79b70894a8fa86164e396b6380a53efd40 Mon Sep 17 00:00:00 2001 From: vedatakd Date: Thu, 20 Aug 2020 17:12:59 +0300 Subject: [PATCH] fixed location filter --- .../resources/views/ads-list/partials/location-fields.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/default/visiosoft/location-module/resources/views/ads-list/partials/location-fields.twig b/addons/default/visiosoft/location-module/resources/views/ads-list/partials/location-fields.twig index 683f018e9..a02584122 100644 --- a/addons/default/visiosoft/location-module/resources/views/ads-list/partials/location-fields.twig +++ b/addons/default/visiosoft/location-module/resources/views/ads-list/partials/location-fields.twig @@ -12,6 +12,7 @@ {% set countryValue = defaultCountry == selectedCountry ? '' : selectedCountry %} {% elseif defaultCountry %} {% set countryName = getCountry(defaultCountry).name %} + {% set countryValue = defaultCountry %} {% else %} {% set countryName = trans("visiosoft.module.location::field.country.name") %} {% endif %}