Defect #14881
closed
Issue journals should be ordered by created_on, not id
Added by Felix Schäfer about 11 years ago.
Updated over 9 years ago.
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.
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 :/
Ah, because of the split public changes/private notes journals? I understand.
created_on ASC, id ASC
would work, thanks!
- Has duplicate Defect #17852: Issue journals should be ordered by created_on, not id added
- Related to Patch #18440: Journals could be ordered using the create_on attribute instead of the id added
- Related to deleted (Patch #18440: Journals could be ordered using the create_on attribute instead of the id)
- Has duplicate Patch #18440: Journals could be ordered using the create_on attribute instead of the id added
- 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
Also available in: Atom
PDF