From Year configuration not working for Created date

Created on 10 February 2021, almost 4 years ago
Updated 17 September 2024, 2 months ago

Problem/Motivation

I want to restrict which years are displayed in the Year drop-down field when using the node created date.

Steps to reproduce

Create a Node Granular Date Filter and use the 'created' date as the field name. Enter any year in the Year From field and apply the filter. View the configuration again and the Year From will have reverted to '2000'.

The Year To is configurable as expected.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇨🇦Canada Simon-P Vancouver

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.

  • 🇨🇦Canada davemybes Montreal

    This is still happening in 2.1.0. However, it does appear that the correct years are shown in the filter (I'm using exposed filter on a date field), even though the setting always shows 2000. I even had one suddenly start to ignore the end year, but resaving the settings fixed that.

Production build 0.71.5 2024