Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/01/2015 08:36:34 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Notifications: Wire up meta queries so they return accurate results, largely lifted from Activity component. More to fine-tune here. See #6257.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-notifications/bp-notifications-template.php

    r9570 r9574  
    297297            'per_page'          => 25,
    298298            'max'               => null,
     299            'meta_query'        => false,
     300            'date_query'        => false
    299301        ) );
    300302
     
    325327            'component_name'    => $r['component_name'],
    326328            'component_action'  => $r['component_action'],
     329            'meta_query'        => $r['meta_query'],
     330            'date_query'        => $r['date_query'],
    327331            'is_new'            => $this->is_new,
    328332            'search_terms'      => $this->search_terms,
     
    535539        'order_by'          => 'date_notified',
    536540        'sort_order'        => 'DESC',
     541        'meta_query'        => false,
     542        'date_query'        => false,
    537543        'page'              => 1,
    538544        'per_page'          => 25,
Note: See TracChangeset for help on using the changeset viewer.