Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take milestone due date into account when sorting issues #13738

Closed
koalp opened this issue Nov 28, 2020 · 2 comments · Fixed by #14551
Closed

Take milestone due date into account when sorting issues #13738

koalp opened this issue Nov 28, 2020 · 2 comments · Fixed by #14551
Labels
type/enhancement An improvement of existing functionality

Comments

@koalp
Copy link
Contributor

koalp commented Nov 28, 2020

When we sort issues by "Nearest due date" or "Farthest due date", only issues due dates are taken into account.
I think it would be nice to take the milestone due date into account.

Maybe it could be implemented in the following way : when the milestone due date is further than the issue due date, the later is taken into account, and if the milestone due date is nearer, then the milestone is taken into account for sorting.

I've tried an implementation in this commit : koalp@126d3ca and can make a PR if this issue is accepted.

My use case: when I'm looking for the next issue to work on, I go in the issue tab, look at assigned issues and sort by "Nearest due date". But when due dates have been set using milestones, I don't see them and have to look in each milestone manually.

@noerw noerw added the type/enhancement An improvement of existing functionality label Dec 22, 2020
@noerw
Copy link
Member

noerw commented Dec 22, 2020

@koalp Nice, please send a PR!

edit: could you check if your change fixes #13395 too?

@koalp
Copy link
Contributor Author

koalp commented Feb 3, 2021

edit: could you check if your change fixes #13395 too?

I couldn't reproduce the issue : I tried to create a lot of issue with the same due date (with a due date with a due past by less than a day, and with random names), but the issues where sorted according to their number.

@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants