Project

General

Profile

Actions

Defect #30923

closed

Project search should select subprojects scope when the project has subprojects

Defect #30923: Project search should select subprojects scope when the project has subprojects

Added by Yuuki NARA almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Search engine
Target version:
Resolution:
Fixed
Affected version:

Description

In the following tickets,
the project search has been changed by Redmine 3.4.0 to include subprojects by default,

Search in project and its subprojects by default
http://www.redmine.org/issues/9909

But it is not working as expected.
Selected the project itself.

I confirmed it in Redmine 3.4.6.


Files


Related issues 1 (0 open — 1 closed)

Related to Redmine - Feature #9909: Search in project and its subprojects by defaultClosedJean-Philippe LangActions

Updated by Go MAEDA almost 8 years ago Actions #1

  • Related to Feature #9909: Search in project and its subprojects by default added

Updated by Go MAEDA almost 8 years ago Actions #2

I tested the behavior on the current trunk. NARA-san, are you talking about the second behavior?

  1. Redmine searches the current project and its subprojects when you enter search keywords to the box on the upper-right corner. It seems working as expected.
  2. If you click the label "Search" on the left side of the box, the default scope is the current project only.

Updated by Yuuki NARA almost 8 years ago Actions #3

Maeda-San, Thank you for pointing out.

I was doing the operation of test-2.

Even in my own environment, test-1 has Subproject, and in test-2 it has only Project itself.

In issue9909, it seems that this difference is not mentioned at all.

There are two operation methods test1 and test2.

Which is running

Was the fix that JPL committed effective only when you performed test-1 operation?

Updated by Go MAEDA almost 8 years ago Actions #4

  • Assignee deleted (Yuuki NARA)

Yuuki NARA wrote:

I was doing the operation of test-2.

Even in my own environment, test-1 has Subproject, and in test-2 it has only Project itself.

Thank you for clarifying. I think the scope drop-down which is shown by the second operation also should include subprojects, as you insist.

Updated by Yuuki NARA almost 8 years ago Actions #5

+1

The operation of the search operation should be consistent.

Updated by Marius BĂLTEANU over 7 years ago Actions #6

  • Assignee set to Marius BĂLTEANU

Updated by Marius BĂLTEANU over 7 years ago Actions #7

Attach the patch with the fix and tests for this issue and also for #9909.

I think we can deliver this small change in 3.4.10.

Updated by Go MAEDA over 7 years ago Actions #8

  • Subject changed from Project search does not select subproject by default to Project search should select subprojects scope when the project has subprojects
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you all for reporting and fixing the issue.

Updated by Go MAEDA over 7 years ago Actions #9

  • Status changed from Confirmed to Resolved

Updated by Go MAEDA over 7 years ago Actions #10

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom