Defect #12180

Due date filterin works in an unexpected way

Added by Hans Raaf about 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution:Duplicate Affected version:

Description

I want to filter for all (open) issues which are due "in less than" 4 days.

But I do not get any issues which are already in the past!

I'd say "due in the past" is a minus value and therefore it is less than 4 days.

The filter I have available works as "due in the next x days". I believe that is something different.

I did not find any other way to create a "show me all issues which are due the next 4 days (or already in the past)".


Related issues

Duplicates Redmine - Defect #11426: Filtering with Due Date in less than N days should show o... Closed

History

#1 Updated by Balázs Tar about 5 years ago

Hello Hans,

I have inspected the source code and it looks like the
current behavior is the intended way it should work.

There is a Unit test for this scenario, which states "issue.due_date >= Date.today", this means that the
tests fail any time results are returned where the due date is less or equal to today.

It would be nice if somebody from the "core" Redmine team would comment.

Cheers,
Balázs

#2 Updated by Jean-Philippe Lang about 5 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Same as #11426 which is now fixed for 2.2.0.

Also available in: Atom PDF