Support date popup for mysql_date field views filters

Created on 23 January 2023, almost 2 years ago

Problem/Motivation

When exposing a mysql date field the filter is treated as a string. The date_popup module does not catch this field.
We wanted to provide a date popup for the filter using the html5 date type.

Steps to reproduce

  1. Create a custom table with a mysql "date" type field.
  2. Adopt the table using the view_custom_table module
  3. Create a view using the new custom table as the base
  4. Expose the date field as a filter.
  5. Installation of the date_popup module will not change the filter into an html5 date field either.

Proposed resolution

Find a way to allow the mysql_date field to be filtered using a date popup.

I took some lead from the date_popup module to try and get them to work together and ended up bringing some of their code over in a patch

Remaining tasks

Evaluate the patch or a better method of getting the filter to be an html5 date field.

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jimmynash

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024