Adds filter options for date range fields. Install and rebuild cache to see the options.

It will be obsolete when this core issue is resolved: #2924061: Create views filter plugin for date range fields

For more information see this discussion: #3068036: Does this cover all parts of the patch and vice-versa?

Includes

Filters by date ranges which include the supplied date.

  1. Add filter on the date range field
  2. Select operator "Includes"
  3. Modify date options as required

Includes (Unbound) (Version 2.x+)

Filters by date ranges which include the supplied date, properly handling ranges that do not have an end date defined (optional end date).

  1. Add filter on the date range field
  2. Select operator "Includes (Unbound)"
  3. Modify date options as required

The Includes (Unbound Indexed) operator does not apply the DATEFORMAT function in the query WHERE condition, which enables database index usage and results in better performance.

Overlaps

Filters by date ranges which overlap with the supplied date range.

  1. Add filter on the date range field
  2. Select operator "Overlaps"
  3. Modify date options as required

Ends by

Filters by date ranges which end by the supplied date. Equivalent to "End date <= supplied date". Useful for grouped filters when using "Start date". See screenshot below.

Supporting organizations: 
AttachmentSize
Date Range filter group89.83 KB

Project information

Releases