Ordering forum replies by last reply date is broken
|Assignee:||Jean-Philippe Lang||% Done:|
Would be very nice allow to sort by last reply date in forums. I think is not possible now.
Something like this:
#2 Updated by Jean-Claude Wippler over 5 years ago
- File Screen Shot 2012-12-05 at 00.27.12.png added
Yes. I had in fact expected that sort on last message would do this, but the sort order doesn't look right - this is with 2.2.0-dev, i.e. trunk.
See attached example. There was a post "New & Updated", I added 5 new posts, and then added a reply to that "New & Updated" post. Had expected to see that N & E post to rise to the top.
#4 Updated by Jean-Claude Wippler over 5 years ago
See this forum as example - a few people are getting confused as to what is most recent:
I track the forum by email, and get everything in time-order that way, but it would be nice if you could go to the forum page and somehow see what messages you haven't read since the last time you visited. Doesn't have to be fancy (per-user highlighting), but a clear date order from top to bottom would help.
#5 Updated by Jean-Claude Wippler over 5 years ago
Sorry to keep posting here - but the forum posts are really not sorting as expected. When sorting on "Last message", the list gets sorted on "Created". See link in my previous post for an example. This is running the latest code, pulled from GitHub minutes ago:
Redmine version 2.2.2.devel
Ruby version 1.8.7 (i486-linux)
Rails version 3.2.11
Database adapter MySQL
#8 Updated by Jean-Philippe Lang about 5 years ago
- Subject changed from Order forum replies by last reply date to Ordering forum replies by last reply date is broken
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 2.2.4
- Resolution set to Fixed
The updated_on column is no longer updated when adding a reply hence the sort was broken. It's now fixed in r11424. Thanks for pointing this out.