mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-30 06:09:04 +02:00
When sorting issues and pull requests by the nearest due date, the issues and PRs without a due date are currently sorted _descending_ by their creation date. This seems counter intuitive to me. When sorting by nearest due date I want to see the issues/PRs in the order they should be worked on. For issues/PRs without a due date that order should be first come first served rather than last come first served. This PR now changes the ordering of issues/PRs which don't have a due date to _ascending_ by their creation date. So that the oldest is shown first and the newest last. This now also makes the sort order nearest due date a true opposite to farthest due date. At farthest due date the newest is shown first and the oldest last. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>