Project

General

Profile

Actions

Defect #43965

closed

"Previous" and "Next" links in changeset view do not match the changeset list order

Added by Takenori TAKAKI 21 days ago. Updated 15 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
SCM
Target version:
Resolution:
Fixed
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

Actions

Also available in: Atom PDF