Added filter by date in AJAX request