I'm using exposed views filters and the datepicker option.
In version 7.x.5.1 the end date was always after the start date when you selected the start date, you couldn't select an end date that was before the start date.

For example, you select 24-12-2014 as start date, when selecting the end date, you could only select the 24th or the days after that.

In the versions after 7.x.5.1 this isn't working anymore, you can now select an end date from all dates available.

Comments

fietserwin’s picture

Title: Exposed end date with datepicker » Exposed availability filter does no longer set max or min date value.
Priority: Major » Normal
Status: Active » Fixed

Thanks for reporting. Fixed and committed.

  • fietserwin committed 6dc071f on 7.x-5.x
    [#2390531]: Exposed availability filter does no longer set max or min...
koen’s picture

Hi Erwin,

Thanks for the fast response and fix.

I still get an error:

TypeError: Drupal.availabilityCalendar is undefined
/sites/all/modules/availability_calendars/views/availability_calendar_handler_filter_availability.js
Line 22

fietserwin’s picture

I see, apparently I only tested with calendars on the search page, therefore I did not get this error. Fixed this as well.

  • fietserwin committed 86e4872 on 7.x-5.x
    [#2390531]: Missed a possible problem with the bug fix.
    
koen’s picture

It works :-) Thanks a lot!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.