[buddypress-trac] [BuddyPress] #4188: Activity pages incorrectly return no results when the previously selected activity filter doesn't exist for the current activity context

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat May 5 14:15:51 UTC 2012


#4188: Activity pages incorrectly return no results when the previously selected
activity filter doesn't exist for the current activity context
--------------------------+-----------------------------
 Reporter:  chriskeeble   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.5.5
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 WP version 3.3.2
 BP 1.5.5

 The message: 'Sorry, there was no activity found. Please try a different
 filter.' is displayed if these steps are followed:

 1. View the main Activity page
 2. Change the filter to one which doesn't exist on the single Group
 activities page, i.e. one of: Posts, Comments, New Groups, Friendships,
 New Members
 3. Navigate to a single Group and view activities.

 Expected behaviour:
 * Last used activity filter doesn't exist, so use default filter
 ('Everything')

 Actual behaviour:
 * Everything filter is selected (by default) in the dropdown, but
 * The previously selected filter is still being applied, resulting in
 incorrect results and (in most cases) the message being displayed:

 'Sorry, there was no activity found. Please try a different filter.'

 The root of the problem is that a single cookie is being stored for
 activity filtering ('bp-activity-filter') regardless of which page or
 context we are in.

 Ideally, a separate filter value (and cookie) should be used for each
 context:

 * Activity Page
 * Group Activity
 * Member Activity
 * (others?)

 bp-activity-filter

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


More information about the buddypress-trac mailing list