Exposed filters is broken

Created on 30 December 2022, almost 2 years ago
Updated 25 May 2023, over 1 year ago

In Drupal 9.4.8 when exposing a day/month/year/quarter filter the value is not properly added to the query. Resulting in no matter what is selected, in the query it's always 0. It's because when the filter is not exposed, for example for January $this->value contains [1 => 1]. When it is exposed and January is selected $this->value = [0 => 1]. And in the filter plugins, the array_keys function is used.

🐛 Bug report
Status

Needs review

Version

1.1

Component

Code

Created by

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.

Production build 0.71.5 2024