New activity check
|Reported by:||SGr33n||Owned by:||imath|
|Component:||Component - Activity||Keywords:||commit|
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)
comment:1 follow-up: ↓ 3 @boonebgorges — 13 months ago
- Component changed from Core to Activity
- Milestone changed from Awaiting Review to 2.0
- Version set to 2.0
comment:13 in reply to: ↑ 12 ; follow-up: ↓ 18 @imath — 13 months ago
- Keywords needs-patch added; reporter-feedback removed
comment:16 in reply to: ↑ 15 @imath — 13 months ago
comment:21 in reply to: ↑ 20 @imath — 13 months ago
- Keywords has-patch added; needs-patch removed