Project

General

Profile

Actions

Defect #14881

closed

Issue journals should be ordered by created_on, not id

Defect #14881: Issue journals should be ordered by created_on, not id

Added by Felix Schäfer about 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
Resolution:
Fixed
Affected version:

Description

r10547 changes the ordering of journals in IssuesController#show from created_on ASC do id ASC, is there a specific reason for this? Ordering by ID is probably right in most cases, we have a Jira import where this is not the case.


Related issues 2 (0 open — 2 closed)

Has duplicate Redmine - Defect #17852: Issue journals should be ordered by created_on, not idClosedActions
Has duplicate Redmine - Patch #18440: Journals could be ordered using the create_on attribute instead of the idClosedActions

Updated by Jean-Philippe Lang about 13 years ago Actions #1

This was changed because journals may have the same created_on value. We could use created_on ASC, id ASC instead to fix your issue but importing journals in chronological order would have been a better option :/

Updated by Felix Schäfer about 13 years ago Actions #2

Ah, because of the split public changes/private notes journals? I understand.

created_on ASC, id ASC would work, thanks!

Updated by Toshi MARUYAMA about 13 years ago Actions #3

  • Category set to Issues

Updated by Go MAEDA about 12 years ago Actions #4

  • Has duplicate Defect #17852: Issue journals should be ordered by created_on, not id added

Updated by Go MAEDA about 12 years ago Actions #5

  • Related to Patch #18440: Journals could be ordered using the create_on attribute instead of the id added

Updated by Go MAEDA about 12 years ago Actions #6

  • Related to deleted (Patch #18440: Journals could be ordered using the create_on attribute instead of the id)

Updated by Go MAEDA about 12 years ago Actions #7

  • Has duplicate Patch #18440: Journals could be ordered using the create_on attribute instead of the id added

Updated by Toshi MARUYAMA over 11 years ago Actions #8

#61 note order is strange.
#61#note-5 is oldest.

#61#note-5 -> #61#note-4 -> #61#note-3 -> #61#note-2 -> #61#note-1 ->
#61#note-6 -> #61#note-7 ...

Updated by Jean-Philippe Lang over 11 years ago Actions #9

  • Subject changed from Issue comments in wrong order to Issue journals should be ordered by created_on, not id
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.1.0
  • Resolution set to Fixed
Actions

Also available in: PDF Atom