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

[Feature Request] Dashboard Widget should process start dates #1834

Closed
HumanNr4584093104 opened this issue Nov 2, 2021 · 3 comments
Closed

Comments

@HumanNr4584093104
Copy link

Steps to reproduce

  1. Create multiple tasks
  2. Set priority and start date on all
  3. Do not set due date on any

Expected behaviour

Tasks are sorted by due date -> start date -> priority-> alphabetically, and thus the tasks that starts tomorrow is higher on the list than the tasks that starts next month.

Actual behaviour

According to #1641, tasks are sorted by due date -> priority -> alphabetically, and tasks are sorted by priority.

Server configuration

Nextcloud version: 21.0.4

Tasks version: 0.14.2

@raimund-schluessler
Copy link
Member

The tasks in the dashboard are sorted by start date, it's only that they are sorted by priority before. So your prioritization overrules the start date. The complete order is
pinned -> completed date -> due date -> priority -> start date -> alphabetically, see here:

comparators = [sortByPinned, sortByCompleted, sortByDue, sortByPriority, sortByStart, sortAlphabetically]

The decision what is more important (start date, priority, any other parameter) is quite personal, I guess. So there won't be an order to satisfy everyone.

@HumanNr4584093104
Copy link
Author

Is there any way for me as an server admin to change the sort order, perhaps like one can manually edit config.php?

@raimund-schluessler
Copy link
Member

Is there any way for me as an server admin to change the sort order, perhaps like one can manually edit config.php?

Unfortunately there is no configuration for this. You could of course adjust the source code of the app and compile it yourself, but you would need to to this for every release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants