Feature #1159

Allow issue description to be searchable as a filter

Added by Mark P about 10 years ago. Updated over 2 years ago.

Status:ClosedStart date:2008-05-01
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Issues
Target version:3.2.0
Resolution:Fixed

Description

Currently, we can add one or many filters to search issues, including Subject. I would love to see the ability to search the Description field of an issue in the same way we can search the Subject field.

enable_issue_filter_by_description.1159.diff Magnifier (1.3 KB) Henrique Bastos, 2008-05-08 06:14

query.rb Magnifier (41.9 KB) marco guan, 2013-01-27 14:52

1.jpg (40.3 KB) marco guan, 2013-01-27 14:54

2.jpg (48.9 KB) marco guan, 2013-01-27 14:54

enable_issue_filter_by_description_r14065.diff Magnifier - patch against trunk r14065 (511 Bytes) Go MAEDA, 2015-03-08 13:58


Related issues

Related to Redmine - Feature #1353: Please add ability to filter on issue Description field Closed 2008-06-02
Related to Redmine - Feature #11521: Let user set tracker in seach Closed
Related to Redmine - Patch #5893: Filter Options: Allow to filter for description and notes New 2010-07-16
Related to Redmine - Feature #14468: Search for text in description and comments in issue sear... New
Related to Redmine - Defect #25077: Issue description filter's 'none' operator does not match... Closed
Duplicated by Redmine - Feature #12453: Add "Description" in the issues filter Closed

Associated revisions

Revision 14672
Added by Jean-Philippe Lang over 2 years ago

Allow issue description to be searchable as a filter (#1159).

Patch by Go MAEDA.

Revision 14673
Added by Jean-Philippe Lang over 2 years ago

Reverts r14672, test broken (#1159).

Revision 14674
Added by Jean-Philippe Lang over 2 years ago

Isolates csv options for a hash param (#1159).

Revision 14675
Added by Jean-Philippe Lang over 2 years ago

Allow issue description to be searchable as a filter (#1159).

History

#1 Updated by Henrique Bastos about 10 years ago

Patch against trunk to enable the description filter for issue search.

#2 Updated by Henrique Bastos about 10 years ago

  • Status changed from New to Resolved

#3 Updated by Mark P about 10 years ago

Thank you very much for the quick turn around on this. The wiki describes how to create a patch.diff file, but it does not specifcy how to implement one. I looked through the forums as well. Sorry for the noob question.

#4 Updated by Eric Davis about 10 years ago

Mark, I've updated the Patch page on the wiki to talk about applying and removing a patch file. That should help you get started, if you have any other questions feel free to post to Forums.

#5 Updated by ian horne about 9 years ago

Running this patch on redmine0.8.3 I receive error:

patching file app/models/query.rb
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

And the option is still unavailable.

#6 Updated by sebastián scarano about 9 years ago

has this been implemented in 0.8.3???

because I can't find the way to filter by description...

#7 Updated by Eric Davis over 8 years ago

  • Status changed from Resolved to New

#8 Updated by Harry Garrood over 6 years ago

+1, this would be really useful.

#9 Updated by Terence Mill over 6 years ago

+1 ..regular expression would be great!

#11 Updated by Terence Mill over 5 years ago

Is there an update for this patch working with redmine 2.2?

There is a plugin redmine extra query operators which can regexp on topic but not on description, its half of the way. See inofficial github issue or official forum

#12 Updated by marco guan over 5 years ago

for 2.2.1, a litte change needed

#13 Updated by Jan Niggemann (redmine.org team member) over 5 years ago

Is that deliberately left out in trunk because it might put a lot of load on the DB?
If not, why isn't this in trunk after all?

#14 Updated by Terence Mill over 5 years ago

How does this filter works? Substring match?

If not, why isn't this in trunk after all?

Good question anyways.

#15 Updated by Etienne Massip over 5 years ago

Ideally description field and other text fields should be indexed and searched with FTS.

#16 Updated by Anton Nepomnyaschih over 5 years ago

+1. It's more convenient for me to search via filter than via Search.

BTW, if standart Search can search through the description field, why filter cant? It seems the same thing.

#17 Updated by Mischa The Evil almost 5 years ago

  • Related to Feature #14468: Search for text in description and comments in issue search and restrict projects. added

#18 Updated by asd asd over 4 years ago

+1
This feature is highly needed for large sets of issues

#19 Updated by Ralf S. almost 4 years ago

+1
Would be very useful and is required by us.

No responsibilty until now?

#20 Updated by Go MAEDA over 3 years ago

This feature is very usuful and easy to implement. Could it be a feature of Redmine 3.1?
Here is a patch againt trunk (r14065).

#21 Updated by Go MAEDA about 3 years ago

  • Target version set to Candidate for next major release

#22 Updated by Florian ROBERT almost 3 years ago

+1

#23 Updated by Go MAEDA over 2 years ago

  • Target version changed from Candidate for next major release to 3.2.0

I think this feature is very usuful and many people who commented to this issue have longed for the feature for years.
Please consider including this in 3.2.0.

#24 Updated by Jean-Philippe Lang over 2 years ago

  • Subject changed from Allow Issue Description to be Searchable as a Filter to Allow issue description to be searchable as a filter
  • Assignee set to Jean-Philippe Lang

Patch committed in r14672.

#26 Updated by Jean-Philippe Lang over 2 years ago

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

Done.

#27 Updated by Mischa The Evil over 1 year ago

  • Related to Defect #25077: Issue description filter's 'none' operator does not match issues with blank descriptions added

Also available in: Atom PDF