-
December 9, 2020, 06:26 AM
#1
Guru
restrict auto complete in search by distance
hello,
how can i restrict to show autocomplete in search by distance only to one country?
Dont want to show locations of other countries but just the one country im using in multifield plugin.
thank you
-
December 9, 2020, 07:24 AM
#2
Flynax developer
-
December 9, 2020, 09:26 AM
#3
Guru
got it working for search by distance, however im using the new olx template and cannot find the code for the horizontal bar on homepage to filter there aswell.
Seems like its a bit different than the general nova that you specified in the thread.
To filter results on home page form (realty nova map)
go to templates > tpl > blocks > horizontal_search.tpl
at the bottom find:
Code:
$target.attr('placeholder', lang['enter_a_location']);