Project

General

Profile

Actions

Patch #3586

closed

Add an option to filter issues by people who were assigned to it in the past

Added by Grzegorz Kulewski over 15 years ago. Updated over 1 year ago.

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

0%

Estimated time:

Description

Patch attached. It is against 0.7 but can probably very easily be ported to other versions. It probably needs adding handling of other cases, not only "is" but I am not sure what else is needed. Please review and apply if possible.

This patch partially solves #2333.


Files

add-ever-assigned-to.patch (2.81 KB) add-ever-assigned-to.patch Grzegorz Kulewski, 2009-07-05 16:42
add-ever-assigned-to_r2823.patch (3.66 KB) add-ever-assigned-to_r2823.patch Chris Grieger, 2009-07-19 12:35
add-ever-assigned-to_r2823.patch (4.48 KB) add-ever-assigned-to_r2823.patch Proper version of the patch Chris Grieger, 2009-07-19 14:48

Related issues

Related to Redmine - Feature #2333: Add ability to search for issues that the user touchedClosed2008-12-13

Actions
Related to Redmine - Feature #38527: New issues filter operators "has been", "has never been", and "changed from"ClosedGo MAEDA

Actions
Actions #1

Updated by Chris Grieger over 15 years ago

Patch adjusted for the current revision r2823.

Also added handling for the "is not" case.

patch -p0 < patches/add-ever-assigned-to_r2823.patch 
patching file app/models/query.rb
patching file config/locales/en.yml
Actions #2

Updated by Chris Grieger over 15 years ago

Sorry, i had a small error in the last patch which caused some tests to fail.

Fixed in this patch.

Actions #3

Updated by Grzegorz Kulewski over 15 years ago

Chris Grieger wrote:

Sorry, i had a small error in the last patch which caused some tests to fail.

Fixed in this patch.

Thanks, I didn't have time to do it myself yet.

Are you sure that there is only need for IN/NOT IN operators? Also don't we need the double value handling in operators other than "="?

I am also thinking about doing more general version that gets list of strings as db_field instead of this shameless has_double_field hack. Maybe it will be handy for others too.

BTW. The PL translation would be something like "Kiedykolwiek przydzielony do" - it's similar to other such PL translations in 0.7 at least but it's also a little bit too long and often gets line break before "do" that looks strange, probably some css fix would be needed.

Actions #4

Updated by Grzegorz Kulewski about 14 years ago

This patch is only a proof of concept and needs more development and tests and possibly some discussion about the performance impact of these two joins.

Unfortunately I don't know Redmine internals or even Rails/Ruby too well. Any volunteers who can help?

Actions #5

Updated by Daniel Küppers about 11 years ago

Is there a way we can integrate this quite quick into redmine? I really appreciate this feature for the project management as some others stated above.

Actions #6

Updated by Go MAEDA over 1 year ago

  • Related to Feature #38527: New issues filter operators "has been", "has never been", and "changed from" added
Actions #7

Updated by Go MAEDA over 1 year ago

  • Status changed from New to Closed

New filter operaters "changed from" and "has been" that were implemented in #38527 cover the feature of the "Ever assigned to" filter suggested in the patch.

  • [Assignee][changed from][user]: selects issues where the user was an assignee at some point in the past
  • [Assignee][has been][user]: selects issues where the user was an assignee at some point in the past or is the current assignee
Actions

Also available in: Atom PDF