Opened 15 years ago
Closed 14 years ago
#2098 closed enhancement (fixed)
[patch] BP_Activity_Activity::get_filter_sql() should be using IN operator for list queries HAS-PATCH
Reported by: | MrMaz | Owned by: | MrMaz |
---|---|---|---|
Milestone: | 1.5 | Priority: | major |
Severity: | Version: | ||
Component: | Core | Keywords: | activity filter get_filter_sql has-patch |
Cc: |
Description
Here is a patch to improve the performance and security of the activity get() queries that rely on lists of ids, actions etc by utilizing the IN operator and also by passing all data through prepare.
Attachments (1)
Change History (6)
#2
@
15 years ago
- Keywords has-patch added
- Summary changed from BP_Activity_Activity::get_filter_sql() should be using IN operator for list queries to BP_Activity_Activity::get_filter_sql() should be using IN operator for list queries HAS-PATCH
#3
@
15 years ago
- Component set to Core
- Owner set to MrMaz
- Status changed from new to assigned
One of yours, MrMaz ;)
Note: See
TracTickets for help on using
tickets.
Forgot to mention that this patch has NOT been tested yet.