Feature #3110

Filter on date range (eg. Created and Updated fields)

Added by James Robertson over 8 years ago. Updated about 6 years ago.

Status:ClosedStart date:2009-04-02
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution:Duplicate

Description

I need to be able to filter for issues/tickets within a specific range of dates (eg. issue closed last month).

When filtering date fields (Updated, Created, etc.), instead of specifying the number of days ago, I would much prefer to be able to specify an end date and a start date.

A useful addition to this would be a simple set of options to pre-populate such a date range (such as 'this week', 'this month', 'last week', 'last month', etc.).

filters.rhtml.patch Magnifier - app/views/queries/_filters.rhtml patch (333 Bytes) Mikko Ruohola, 2009-07-09 10:03

query.rb.patch Magnifier - app/models/query.rb patch file... (2.49 KB) Mikko Ruohola, 2009-07-09 10:03


Related issues

Duplicates Redmine - Feature #6954: Filter from date to date Closed 2010-11-22

History

#1 Updated by Mikko Ruohola over 8 years ago

I've done something similiar for the new svn trunk version. Because my boss needed last months tickets(and this months..)

and it's not pretty.

Sorry that patches are in seperate files... I don't really get along with Solaris diff/patch stuff.. ;)

#2 Updated by Mikko Ruohola over 8 years ago

Mikko Ruohola wrote:

I've done something similiar for the new svn trunk version. Because my boss needed last months tickets(and this months..)

Sorry, I forgot to mentions the details of the patch:

It adds "Last Month" and "This Month" filters to issues.

#3 Updated by Etienne Massip over 6 years ago

  • Target version set to Candidate for next major release

#4 Updated by Gerry Hawkins about 6 years ago

Would this workflow add a calendar option to the created/updated type fields to allow for a search like: created since <calendar date>? Or would that be better as a separate request?

#5 Updated by Mischa The Evil about 6 years ago

  • Status changed from New to Closed
  • Target version deleted (Candidate for next major release)
  • Resolution set to Duplicate

This has been already implemented for issue #6954 with r6226 in the current Redmine trunk which will evolve into Redmine 1.3.0 eventually.

#6 Updated by Gerry Hawkins about 6 years ago

Great! Looking forward to 1.3.
Thanks Mischa.

#7 Updated by James Robertson about 6 years ago

Sounds great. Looking forward to it.

Thanks Mischa and Jean-Philippe.

Also available in: Atom PDF