New activity check
|Reported by:||SGr33n||Owned by:||imath|
I don't know if you wanna fix this, but there is a difference between the check for activity by PHP and the one by ajax ( bp_activity_newest_activities ).
Infact the first one maybe orders via date_recorded DESC, the second one by id.
In the most of cases it's ok, but if we mention somebody on bbPress and then we don't pass by the page displaying it can create a bug.
In this case the activity will have a date lower than the id, and then, if we are on an activity page, php will show as last new item the mention, because it has a lower date than last item, and will force it, everytime, as new item because it has an higher id.
Change History (36)
2 years ago
- Component changed from Core to Activity
- Milestone changed from Awaiting Review to 2.0
- Version set to 2.0
- Keywords needs-patch added; reporter-feedback removed
- Keywords has-patch added; needs-patch removed