Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Display 'Posts to date' filter › Reply To: Display 'Posts to date' filter
Hi,
It’s a known minor bug, where the “Posts to date” filter shows the same value as the “Posts from date”, caused by a syntax error in the code. It’s going to be fixed within the next release of course.
If you want, you can fix it by opening the wp-content\plugins\ajax-search-pro\includes\views\asp.shortcode.date_filters.php file on your server, and changing line 28 from this:
[php]$_dft_v = $_dff[‘date’];[/php]
to this:
[php]$_dft_v = $_dft[‘date’];[/php]
That will solve the bug.
Also, to select the current date, just use the Relative Date option instead of the Date: https://i.imgur.com/4lFEPKC.png
If all values are set to 0, it will show the current date 🙂