Refine Search results not appearing when searching through SearchBar
Hi Ovidiu,
I noticed the following glitch in ClassiPost
My configuration:
I created a new drop-down field and set it as a new "City" field, also, I set that new City field as the default Search field in ClassiPost settings under "Admin input, custom field bellow"
On the front-end, when using the SearchBar, if I select only the
Locations drop-down and choose the city then click on Search button, I get the results of the relevant Ads but the "Refine Filter" does not show up, yet the slug in the browser shows:
PHP Code:
https://www.domain.com/?s=&sa=search&cp_cities=Miami&scat=0&refine_search=yes
Once the results are displayed, the Locations drop-down resets back to default "Locations"
Yet if I search by Category only, I get the Refine Results widget to show up:
PHP Code:
https://www.domain.com/?s=&sa=search&cp_cities=0&scat=3&refine_search=yes
Same thing if I click on the City name within the loop-ad on the Homepage, I noticed the string in the browser is different yet the Refine Results shows up:
PHP Code:
https://www.domain.com/ad-category/category-name/?cp_cities[]=Miami&sa=search&refine_search=yes
Where can I adjust the code to allow the Refine Results to show up when searching by
Locations only?