Add support for SELECT widget in year selector

Created on 13 April 2022, over 2 years ago
Updated 29 August 2024, 4 months ago

Currently, the module depends on Bootstrap's year selector to take year inputs. It might be helpful to provide a number of year input widgets? For example:

  1. INPUT element with 4 digit numbers, possibly with a minimum and maximum year limit.
  2. INPUT element with Bootstrap popup. This could even be a submodule.
  3. SELECT element with all possible year values, i.e. SELECT DISTINCT YEAR(...) FROM ...;
Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

🇨🇦Canada jigarius Montréal

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • @andileco opened merge request.
  • 🇺🇸United States andileco

    I've created a patch that accomplishes some of this (enough for my needs at this point), but only for the ViewsYearFilterDateTime filter plugin class. Some things that are still needed (there are probably other things too):

    • config/schema file
    • add (and test) changes on other filter plugins
  • 🇫🇷France berramou

    Thank you @andileco for you contribution,
    I will work on this when i have some time!

Production build 0.71.5 2024