Problem/Motivation

When using a range in the future (+90 days for example), the count is always 0.

Steps to reproduce

Configure relative date facet with +90 days as range.

Proposed resolution

It seems to come from this condition:

if ($facetDate <= $fieldDate && $fieldDate <= $this->currentTime) {
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

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review

kriceiq’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for catching AND addressing this. Will be added in the next release.

kriceiq’s picture

Version: 1.0.0-alpha2 » 1.1.x-dev
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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