Opened 9 years ago

Last modified 9 years ago

#12261 closed enhancement

Allow filter to be exclusive or inclusive — at Initial Version

Reported by: anonymous Owned by: Geert
Priority: normal Component: WantedPagesMacro
Severity: normal Keywords: WantedPagesMacro filter
Cc: Trac Release:

Description

The filter= argument is exclusive. In a Trac environment that supports many different projects, the argument to filter can become unwieldy. Maybe an additional parameter, filtertype maybe, could be added to control whether filter is inclusive or exclusive. This type of function would be useful when Trac is supporting multiple projects that are grouped with MyProject/BlahBlah/ and TheirProject/BlahBlah, and you only want to show the wanted pages for MyProject. Rather than having to provide every possible pattern you don't want, you could instead say, [[WantedPages(filter=MyProject, filtertype=inclusive)]].

Change History (0)

Note: See TracTickets for help on using tickets.