Search in bp is case sensitive and bp_core_search_site() could break when slug is changed
|Reported by:||burtadsit||Owned by:|
When answering a user question in the forums I ran across a couple of issues that need to be addressed. http://buddypress.org/forums/topic.php?id=1569
First the function bp_core_search_site() will break when the component slug is changed from the defaults. 'groups' and 'blogs' are hard coded as the component slugs. The patch addresses that issue.
Second the bp searches for blogs, users and groups are all case sensitive. I'm no sql guru but I think the solution to that would be to upper/lower case the field values being searched and the $filter var that is used. Should work. Unfortunately I have a meeting to go to so I can't test.
Patch only addresses the search url slug issue. Sorry.