diff --git src/bp-templates/bp-legacy/js/buddypress.js src/bp-templates/bp-legacy/js/buddypress.js
index 63eb97f..544fcc2 100644
|
|
jq(document).ready( function() { |
416 | 416 | just_posted.push( jq(this).attr('id').replace( 'activity-','' ) ); |
417 | 417 | }); |
418 | 418 | |
419 | | bp_ajax_request = jq.post( ajaxurl, { |
| 419 | load_more_args = { |
420 | 420 | action: 'activity_get_older_updates', |
421 | 421 | 'cookie': bp_get_cookies(), |
422 | 422 | 'page': oldest_page, |
423 | 423 | 'exclude_just_posted': just_posted.join(',') |
424 | | }, |
| 424 | } |
| 425 | |
| 426 | load_more_search = bp_get_querystring('s'); |
| 427 | |
| 428 | if ( load_more_search ) { |
| 429 | load_more_args.search_terms = load_more_search; |
| 430 | } |
| 431 | |
| 432 | bp_ajax_request = jq.post( ajaxurl, load_more_args, |
425 | 433 | function(response) |
426 | 434 | { |
427 | 435 | jq('#buddypress li.load-more').removeClass('loading'); |