Vote #74381
完了Issue journals should be ordered by created_on, not id
0%
説明
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.
journals
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!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
#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 ...
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
duplicates,Closed,17852,Issue journals should be ordered by created_on, not id
duplicates,Closed,18440,Journals could be ordered using the create_on attribute instead of the id