Opened 16 years ago
Closed 16 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 |
|---|---|---|---|
| Priority: | major | Milestone: | 1.5 |
| Component: | Core | Version: | |
| Severity: | 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
@
16 years ago
- Keywords has-patch added
- Summary BP_Activity_Activity::get_filter_sql() should be using IN operator for list queries → BP_Activity_Activity::get_filter_sql() should be using IN operator for list queries HAS-PATCH
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Forgot to mention that this patch has NOT been tested yet.