Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 10 years ago

Last modified 10 years ago

#3818 closed defect (bug) (fixed)

Search results returned in all member loops

Reported by: janismo Owned by:
Priority: normal Milestone:
Component: Core Version: 1.5.1
Severity: normal Keywords:
Cc: lv111@…

Description

If we have a page with two bp_has_members()member loops and we are trying to search in one of them, search results will be returned for/in both loops.

Tested on IE8.

  1. go to http://testbp.org/members, add some username into search box and press ENTER. results will be displayed in members directory and "who is online" widget;
  2. check same procedure at the same page, but use header search instead. press ENTER or search button. see same result.

http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/members-loop-has-bug-bp-1-5-1/

Change History (4)

#1 @janismo
15 years ago

  • Summary Searching in member loopsSearch results returned in all member loops

#2 @johnjamesjacoby
15 years ago

  • Milestone Awaiting ReviewFuture Release

Punting to future release. You should be able to force your second loop to ignore the search param by passing it via an empty query string.

#3 @lakrisgubben
10 years ago

  • Resolutionfixed
  • Status newclosed

fixed in r8574

#4 @r-a-y
10 years ago

  • Keywords needs-patch removed
  • Milestone Future Release
Note: See TracTickets for help on using tickets.