Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 8 years ago

Last modified 8 years ago

#3818 closed defect (bug) (fixed)

Search results returned in all member loops

Reported by: janismo's profile janismo Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.5.1
Component: Core 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
12 years ago

  • Summary changed from Searching in member loops to Search results returned in all member loops

#2 @johnjamesjacoby
12 years ago

  • Milestone changed from Awaiting Review to Future 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
8 years ago

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

fixed in r8574

#4 @r-a-y
8 years ago

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