diff --git src/bp-templates/bp-legacy/js/buddypress.js src/bp-templates/bp-legacy/js/buddypress.js
index 57c0392..b6f71c4 100644
|
|
function bp_filter_request( object, filter, scope, target, search_terms, page, e |
1829 | 1829 | |
1830 | 1830 | /* Activity Loop Requesting */ |
1831 | 1831 | function bp_activity_request(scope, filter) { |
| 1832 | if ( null === scope ) { |
| 1833 | // Defaults to all scope |
| 1834 | scope = 'all'; |
| 1835 | |
| 1836 | // Keep the current scope if not null |
| 1837 | if ( null !== jq.cookie( 'bp-activity-scope' ) ) { |
| 1838 | scope = jq.cookie( 'bp-activity-scope' ); |
| 1839 | } |
| 1840 | } |
| 1841 | |
1832 | 1842 | /* Save the type and filter to a session cookie */ |
1833 | 1843 | jq.cookie( 'bp-activity-scope', scope, { |
1834 | 1844 | path: '/' |