Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7359 closed enhancement (wontfix)

Allow trac.ini to configure default quicksearch options

Reported by: fermulator@… 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_itemsList 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 Remy Blank, 16 years ago

Resolution: wontfix
Status: newclosed

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).

comment:2 by osimons, 16 years ago

I'd need to look into the code to see how quicksearch gets affected by #7703, but I seem to remember the quicksearch actually receives no filters and will expand that to mean 'all' filters. With #7703 that may change to just mean 'some' filters.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.