Problem/Motivation

The Views Year Filter module has an unexpected side effect of causing any date and time filters in a view stop working.

Steps to reproduce

- Create a view with a date and time filter and check it is working as expected.
- Install and enable the Views Year Filter module.
- Test the view again - the date and time filter no longer seems to have any effect on the results.

Comments

yeebot created an issue. See original summary.

yeebot’s picture

This patch seems to resolve the issue for me although I'm fairly new to D8 module development so I'm a bit confused why the Date filter handler is being used here rather than the DateTime handler.

berramou’s picture

Thank you @yeebot for reporting and for your patch.
I will review your patch and see if it works i will commit it.
I don't understand what you mean by:

I'm a bit confused why the Date filter handler is being used here rather than the DateTime handler.

  • berramou committed 7a9381e on 8.x-1.x authored by yeebot
    Issue #3196080 by yeebot: Module stops date and time views filters from...
berramou’s picture

Status: Active » Fixed
berramou’s picture

Status: Fixed » Closed (fixed)