[buddypress-trac] [BuddyPress Trac] #6713: Overrides in bp_activity_set_mentions_scope_args() prevents searching into mentions

buddypress-trac noreply at wordpress.org
Tue Nov 3 13:06:33 UTC 2015


#6713: Overrides in bp_activity_set_mentions_scope_args() prevents searching into
mentions
----------------------------------+--------------------------
 Reporter:  imath                 |      Owner:
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  2.5
Component:  Component - Activity  |    Version:
 Severity:  normal                |   Keywords:  dev-feedback
----------------------------------+--------------------------
 If you go to site.url/members/username/?activity_search=hello

 The list will only display activities matching the search terms.

 If you go to
 site.url/members/username/activity/mentions/?activity_search=hello

 All mentions will be displayed.

 That's because at the end of `bp_activity_set_mentions_scope_args()` we
 have this:

 {{{
 // Overrides.
                 'override' => array(

                         // Clear search terms so 'mentions' scope works
 with other scopes.
                         'search_terms' => false,
 }}}

 I think it's too bad we can't perform an activity search inside mentions.
 I'm wondering why we reset the search_terms this way. Do we really need
 this ?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6713>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list