Project

General

Profile

Actions

Defect #12180

closed

Due date filterin works in an unexpected way

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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

Is duplicate of Redmine - Defect #11426: Filtering with Due Date in less than N days should show overdue issuesClosedJean-Philippe Lang

Actions
Actions #1

Updated by Balázs Tar about 12 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

Actions #2

Updated by Jean-Philippe Lang about 12 years ago

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

Same as #11426 which is now fixed for 2.2.0.

Actions

Also available in: Atom PDF