Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Normally when using "Is Between" views filter the min and max value fields are in the that order (min then max) on the form.
However when using "Is Between" with dates are in the reverse order i.e. "to/from", although this isn't very clear: The first field (which is the "to" or end date) has no label and the second is headed "Start date" (i.e. "from").
They should be in the normal more intuitive "from/to" order, and both labelled accordingly.
Comments
Comment #2
hughworm CreditAttribution: hughworm as a volunteer commentedThis turns out to be a confusion caused by the show/hide states not working in the date filter form: The form loads three parameter fields (value, min, and max) and there is code using ctools_dependent_pre_render to hide and show the fields according to the selected operator, but this isn't working and all three fields are visible, the third (max) being confusingly hidden below the fold unless the one scrolls the popup contents down.
The issue is in CTool and there's a fix in https://www.drupal.org/node/2791769
Comment #3
hughworm CreditAttribution: hughworm as a volunteer commentedWorks after patching ctools from https://www.drupal.org/node/2791769