*

Dan Dan

  • ***
  • 40 posts
A small bug at the reset search button. Solved
« on: December 11, 2018, 12:13:58 PM »
The reset button does not work fine. Input location box is not reset, deleted. It remains complete with the previously searched location instead of being empty.
Example ... We are looking for an XY location that was assigned 10 records out of 100 ... okay. Displaying is XY with 10 ads out of 100
I call the more-filters button. It resets the search and category fields, displays all 100 records, but the location field remains filled with the XY location, though it should have been empty.
I went to search.php and I searched for:
Code: [Select]
<a href="<?php echo osc_search_url(array('page' => 'search''clearCookieAll' => 'done'));?> "class =" clear-search <? php echo $ side;? >> <i class = "fa fa-times"> </ i> & nbsp; & nbsp; <? php _e ('Reset filter', 'stela'); ?> </a>
I replaced it with:
Code: [Select]
<a href="<?php echo osc_search_url(array('page' => 'search''clearCookieAll' => 'done'));?> "clear-search clear-cookie <? php echo $ side;?> "> <i class =" fa fa-times "> </ i> & nbsp; <? php _e ('Reset filter', 'stela'); ?> </a>Now everything is very good.
Perhaps this post will use someone.

--
Greetings,
Dan

*

MB Themes

Re: A small bug at the reset search button. Solved
« Reply #1 on: December 11, 2018, 12:38:49 PM »
@Dan
Thanks for info, I've updated theme.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots