Actions
Defect #43965
open"Previous" and "Next" links in changeset view do not match the changeset list order
Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Resolution:
Affected version:
Description
In the changeset view, the "Previous" and "Next" links are determined by Changeset#previous and Changeset#next, which currently use only id order within the same repository.
However, the changeset list is ordered by committed_on DESC, id DESC in Repository#changesets.
Because of this difference, the "Previous" and "Next" links may not follow the same order as the changeset list.
Proposed fix¶
Make `Changeset#previous` and Changeset#next use the same ordering as Repository#changesets, namely committed_on DESC, id DESC.
A patch is attached for this fix.
Files
No data to display
Actions