Wrong count with future range

Created on 12 April 2023, over 1 year ago
Updated 31 January 2024, 10 months ago

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) {
πŸ› Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡«πŸ‡·France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024