#7359 closed enhancement (wontfix)
Allow trac.ini to configure default quicksearch options
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | search system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Good day,
I'd like to submit this enhancement to the 'quicksearch' feature of trac. (i.e. on every page there is a search box and when you click search it does a 'quicksearch')
Currently by default the quicksearch automatically searches tickets, wiki, and changesets. It would be beneficial to be able to set which of those three by default it searches on a per project basis (i.e. in trac.ini).
Suggestion in trac.ini:
[search]
default_search_items | List of which items to search through on a default quicksearch (i.e. tickets,wiki,changesets,etc.). The absence of this entry will default to search on all tickets, wiki, and changsets. |
NOTE: The list for default_search_items should also work with plugins such as the SearchAllPlugin
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The description is incorrect, in that the quicksearch searches in all wiki syntax providers, not just tickets, wiki pages and changesets. Try entering
milestone:0.11
into the quicksearch of this page. If the search string doesn't match a wiki syntax provider, it will do a conventional search.This is actually a feature, and I don't see the general value in restricting the providers for quicksearch. If this is really needed, it could be implemented as a plugin (an
IRequestFilter
).