|
Main sidebar
|
PITS /
00066Summary: $SearchExcludePatterns no longer works
Created: 2004-10-03 14:17
Status: Closed - fixed for 2.0.devel14
Category: Bug
From: PRZ
Assigned:
Priority: 3
Version: 2.0 Devel 11
OS:
Description: The patterns defined to exclude some group from a search no longer works in version 2 $SearchExcludePatterns no longer exists. The new variable is To globally exclude the group "MyGroup" from a search, use $SearchPatterns[] = '!^MyGroup\\.!'; To exclude any page ending in "RecentChanges" from a search, use $SearchPatterns[] = '!RecentChanges$!'; This information probably needs to be entered as a Cookbook recipe somewhere. --Pm Yes, but that don't work... Ummm, what part "doesn't work"? --Pm Sorry for the lack of details, but both options, tested independantly, drive to have a 'no result' search, whatever the search. The pagelist is also empty. PRZ I found the bug, it's fixed for 2.0.devel14. The syntax has also changed, see Cookbook.SearchResults. --Pm |