Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4643 closed enhancement (fixed)

Use $_GET['s'] in bp_has_activities()

Reported by: DJPaul Owned by: DJPaul
Priority: normal Milestone: 1.7
Component: Activity Version:
Severity: normal Keywords:
Cc:

Description

The members, groups, and blogs components all support search via $_GET[s]. bp_has_activities() does not.
This functionality would be useful for themes, and turtleshell, that want to offer easy searching.

Change History (4)

#1 @DJPaul
14 years ago

  • Type defect (bug)enhancement

#2 @DJPaul
14 years ago

  • Milestone Awaiting Review1.7
  • Owner set to DJPaul
  • Status newaccepted

#3 @djpaul
14 years ago

  • Resolutionfixed
  • Status acceptedclosed

(In [6483]) Add query string search support to bp_has_activities. Fixes #4643

This change brings the activity component inline with the members,
groups, and blogs components in terms of being able to search with a
?s= parameter on the URL.

#4 @DJPaul
14 years ago

The commit looks a bit unsafe, but the string is sanitised lower down, when the SQL is built. It's identical to how the other components' searches are currently structured.

Note: See TracTickets for help on using tickets.