The module ships two date cache plugins. One caches archive views (a single "less than" date filter) and the other caches upcoming views (a single "greater than" filter). Each one only looks at a single filter.

That leaves out any view bounded by two date filters at once. The common example is a "currently running" view, where an item should show while now sits between its start and end. On a daterange field that is a "less than"
filter on the start column and a "greater than" filter on the end column, two filters working together. There is no way to cache that today, and no single plugin lets you combine a "less than" and a "greater than" filter.

This issue is to let the caching key off more than one date filter and expire at the soonest moment any of them next changes the result set.

Issue fork vcp4dates-3598730

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

darvanen created an issue. See original summary.

  • darvanen committed e5613ddb on 1.x
    feat: #3598730 Support views with more than one date filter
    
    By:...
darvanen’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.