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.
Problem/Motivation
Steps to reproduce:
- Create 2 date (date and time) fields and name them Start Date and End Date
- Create a view (content, users, whatever) and add those two new fields to be displayed, say, in a table
- Add them in your filter criteria - Pick is less than or is greater than for test purposes
- Expose them both
- Confirm the view renders fine
- Edit the Start date filter criterion, and pick in between instead
- Confirm the exposed filter is now messed up
Here's what visually happens before:
And after:
Proposed resolution
TBD
Remaining tasks
TBD
User interface changes
The In between date operator now renders exposed filters just fine, inline.
API changes
None expected.
Data model changes
TBD
Comment | File | Size | Author |
---|---|---|---|
in-between.png | 15.67 KB | anavarre | |
date_views.png | 24.9 KB | anavarre |
Comments
Comment #2
finneDuplicate of #2480719: Missing label and description for exposed numeric filter when using 'between' filter
The date field extends the numeric field handler. Issue is solved there.