Vote #63250
完了Add Search scope
0%
説明
What about to add "search scope" to search fields?
My idea is to add two checkboxes under under/next to search field:
[x] search also in subprojects [x] search in all projects
I hope the functionality is evident. If you select "[x] search in all projects", the field "[x] search also in subprojects" will be automaticaly marked as checked and the field will be unaccessible. Also radio buttons can be used, but in will be a lot of text IMHO:
Search: (o) this project only, ( ) also in subprojects, ( ) all projects
What others think?
journals
teste
--------------------------------------------------------------------------------
As of r1435, you can search in all projects. I added a drop down list to choose the scope.
Currently, you can choose:
* All projects
* My projects (if you belong to some projects)
* Current project (if you are inside a project)
It shouldn't be hard to add 'current project and subprojects' if the current has some subprojects :-)
Btw, I think a drop down list is more appropriate, isn't it ?
--------------------------------------------------------------------------------
Added in r1439.
--------------------------------------------------------------------------------
I just checked implementation.
On dedicated search page it's just OK.
But I think that same scope should be on the search box at main blue header - now users are not sure where they are currently searching...
--------------------------------------------------------------------------------
I prefer to keep the header light.
Users can simply click the search link to see the full search form.
--------------------------------------------------------------------------------