Opened 18 years ago
Closed 18 years ago
#296 closed defect (bug) (fixed)
Recent Blog Posts - duplicate entries
| Reported by: | gwrey | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Version: | ||
| Severity: | Keywords: | ||
| Cc: |
Description
BP_Blogs_Post::get_latest_posts()
returns duplicate entries if two different users updated the same post.
Fixed by using DISTINCT in the select
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Same here - needs to be committed to trunk
In bp-blogs-classes.php
function get_latest_posts( $blog_id = null, $limit = 5 ) {