Skip to:

Opened 14 years ago

Closed 14 years ago

#2309 closed defect (bug) (fixed)

'members', 'groups', 'forums' search widget bug

Reported by: rossagrant's profile rossagrant Owned by:
Milestone: 1.2.4 Priority: normal
Severity: Version:
Component: Core Keywords: Search has-patch needs-testing
Cc: boonebgorges@…


Hi guys, found a definite bug on BP today.

It occurs when you use the search bar at the top of the page in the Default BP theme and ALL other themes aswell.

I am referring to the search box that enables you to choose, 'members', 'groups' or 'forums' from the drop down menu next to it.

I'll give you an example.
My site can be found at for reference.

Firstly I go to this search box and type in a search.
Eg. I want to search for the group called 'PXS' on my site.

I type in 'PXS' select 'groups' from the drop down and submit it.

This returns the page of results to me, where I see the group called, 'PXS' - so far so good.

However when looking at the page URL, I now see that my search term is tagged onto th eend of it, eg.

If I now use the 'Groups Directory' search box on the very page I am currently on (not the drop down search as used in the first instance', no matter what I search for, it only returns the same results as my initial search. So if I search for the group named, 'Moni' on my site, I still just get the 'PXS' result from earlier.

I am sure this is to do with the fact that the search term is tagged onto the end of the URL. It is as if you are locked into that page. The search refreshes but it can't actually search the rest of the groups.

If you just go into the groups directory first of all and start searching, you can do as many different ones as you like with success as the URL stays as simply the site address and /groups. Nothing gets tagged on.

I hope you understand the issue as it's a little hard to explain but please let me know if you need any more details. I imagine this is a simple fix and hopefully can be addressed in a new release.

Kindest Regards
Ross Grant.

Attachments (1)

ajax_search_fix.diff (426 bytes) - added by boonebgorges 14 years ago.

Download all attachments as: .zip

Change History (6)

#1 @rossagrant
14 years ago

  • Summary changed from 'members', 'groups', 'forums' widget bug to 'members', 'groups', 'forums' search widget bug

#2 @boonebgorges
14 years ago

  • Cc boonebgorges@… added

Confirmed. It's because $_GETs? is being taken as a search term even when the ajax search box is used. Patch attached.

#3 @boonebgorges
14 years ago

  • Keywords has-patch needs-testing added

#4 @paulhastings0
14 years ago

I can confirm that this problem exists on my install as well (WPMU 2.9.2 and BP 1.2.3)

#5 @johnjamesjacoby
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r2964.

Note: See TracTickets for help on using tickets.