[buddypress-trac] [BuddyPress Trac] #4184: Exclude specific user_id’s when querying for activities
buddypress-trac
noreply at wordpress.org
Mon Nov 7 03:51:14 UTC 2016
#4184: Exclude specific user_id’s when querying for activities
-------------------------+-----------------------------
Reporter: username_ | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Activity | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+-----------------------------
Changes (by boonebgorges):
* keywords: => needs-patch
Comment:
`user_id__in` and `user_id__not_in` seem the most consistent.
> We basically need to create
BP_Activity_Activity::get_not_in_operator_sql(). We already have
BP_Activity_Query::get_sql_for_clause() which does support NOT IN.
It may be better - less code, more future-compatible - to translate the
new parameters into `BP_Activity_Query` objects.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4184#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list