Skip to:
Content

BuddyPress.org

Ticket #5779: 5779.heartbeat-nosearch.patch

File 5779.heartbeat-nosearch.patch, 535 bytes (added by imath, 5 years ago)
  • src/bp-templates/bp-legacy/js/buddypress.js

    diff --git src/bp-templates/bp-legacy/js/buddypress.js src/bp-templates/bp-legacy/js/buddypress.js
    index 63eb97f..625caee 100644
    jq(document).ready( function() { 
    16181618        jq( document ).on( 'heartbeat-tick', function( e, data ) {
    16191619
    16201620                // Only proceed if we have newest activities
    1621                 if ( ! data.bp_activity_newest_activities ) {
     1621                if ( ! data.bp_activity_newest_activities || bp_get_querystring('s') ) {
    16221622                        return;
    16231623                }
    16241624