Date filter selecting the same day in between filter returns no results

Created on 10 January 2017, about 8 years ago
Updated 27 January 2025, 8 days ago

Problem/Motivation

Steps to reproduce

  • Create a view with an exposed filter of node:created
  • Make just "between" available, and select "date" or "offset" as 'value type'
  • Now chose twice the same day

Expected output

All entries on that day

Actual output

Empty

Proposed resolution

Increase the range automatically by one day, if twice the same day was created

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component

views.module

Created by

🇩🇪Germany dawehner

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇱Netherlands johnv

    The patch still is valid on D11.1

    The problem occurs and is solved in both cases: with Date filter 'date' option and with 'offset' option. Updating summary.
    A test is added, but #20 is still relevant.

Production build 0.71.5 2024