Opened 14 years ago
Closed 14 years ago
#2309 closed defect (bug) (fixed)
'members', 'groups', 'forums' search widget bug
Reported by: | rossagrant | Owned by: | |
---|---|---|---|
Milestone: | 1.2.4 | Priority: | normal |
Severity: | Version: | ||
Component: | Core | Keywords: | Search has-patch needs-testing |
Cc: | boonebgorges@… |
Description
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 www.sharespeak.co.uk 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. http://sharespeak.co.uk/groups/?s=pxs
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.
Confirmed. It's because $_GETs? is being taken as a search term even when the ajax search box is used. Patch attached.