Defect #30923
closed
Project search should select subprojects scope when the project has subprojects
Added by Yuuki NARA almost 6 years ago.
Updated over 5 years ago.
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 to Feature #9909: Search in project and its subprojects by default added
I tested the behavior on the current trunk. NARA-san, are you talking about the second behavior?
- 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.
- If you click the label "Search" on the left side of the box, the default scope is the current project only.
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?
- 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.
+1
The operation of the search operation should be consistent.
- Assignee set to Marius BĂLTEANU
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.
- 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.
- Status changed from Confirmed to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF