Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9922 closed defect (fixed)

no documentation for default_disabled_filters

Reported by: mbyrd@… Owned by: Christian Boos
Priority: normal Milestone: 0.12.2
Component: search system Version: 0.12
Severity: minor Keywords: documentation
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I have searched far and wide and not found any non-default examples or documentation around [search] default_disabled_filters - for example, if I simply want to disable wiki, what will the value of this be in trac.ini ? What if I want to disable everything except tickets?

I've also looked at the code, done everything short of running it in a debugger.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 14 years ago

Keywords: documentation added
Milestone: 0.12.2

In your case, this should simply be:

[search]
default_disabled_filters = wiki

What would be cool is to have a way to generate the possible values dynamically…

For 0.12.2 we could just add a sample and a hint where to look in the code, for plugins (ISearchSource.get_search_filters methods, first member of returned tuple).

comment:2 by Christian Boos, 14 years ago

Resolution: fixed
Severity: normalminor
Status: newclosed
Version: 0.12

Doc improved in r10392.

comment:3 by Christian Boos, 14 years ago

Owner: set to Christian Boos

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.