Project

General

Profile

Actions

Defect #12243

closed

Ordering forum replies by last reply date is broken

Added by Intrad Acebo over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Forums
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Would be very nice allow to sort by last reply date in forums. I think is not possible now.

Something like this:

Thanks!!


Files

Screen Shot 2012-12-05 at 00.27.12.png (48.4 KB) Screen Shot 2012-12-05 at 00.27.12.png Jean-Claude Wippler, 2012-12-05 00:29

Related issues

Has duplicate Redmine - Defect #13669: Sorting forum message list by "Last message" (="updated_on") does not work correctlyClosed

Actions
Actions #1

Updated by Toshi MARUYAMA over 11 years ago

  • Category set to Forums
Actions #2

Updated by Jean-Claude Wippler over 11 years ago

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.

Actions #3

Updated by Anonymous over 11 years ago

I'm voting this one up. The Redmine Forums don't look like traditional forums. The last reply should be the topmost.

Actions #4

Updated by Jean-Claude Wippler about 11 years ago

See this forum as example - a few people are getting confused as to what is most recent:
http://jeelabs.net/projects/cafe/boards/6?sort=updated_on%3Adesc

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.

Actions #5

Updated by Jean-Claude Wippler about 11 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:

Environment:
Redmine version 2.2.2.devel
Ruby version 1.8.7 (i486-linux)
Rails version 3.2.11
Environment production
Database adapter MySQL
Actions #6

Updated by Jean-Claude Wippler about 11 years ago

Any news on this? I can't seem to find any logic to how forum posts are ordered when clicking on the "Last message" header.

Actions #7

Updated by Jean-Claude Wippler about 11 years ago

Ping? Sorry for making a nuisance of myself, but could someone please reply and explain or address this issue?

Actions #8

Updated by Jean-Philippe Lang about 11 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.

Actions #9

Updated by Toshi MARUYAMA about 11 years ago

  • Tracker changed from Feature to Defect
Actions #10

Updated by Jean-Claude Wippler about 11 years ago

Thank you! Confirmed to work perfectly now - http://jeelabs.net/projects/cafe/boards/6

Actions #11

Updated by Jean-Philippe Lang about 11 years ago

  • Status changed from Resolved to Closed

Thanks for the feedback.

Actions

Also available in: Atom PDF