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

use 'order' argument to change the tasks order: by text or by date #65

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fabienli
Copy link

only 'text' option for the moment, to sort by task's text.
If not specified, the default order (page's name and position in the page) is still applied.

@fabienli
Copy link
Author

Hi, let me know what you think of having a way to change the tasks order in the tasklist.
This PR is a first functional minimum feature to demonstrate it.
I can take care to update the documentation if you integrate this, or if you think we should add more options.

@fabienli
Copy link
Author

I've also added the 'date' option to the order, with this Pull Request you can then use the two following sorting methods samples:
{{dolist>?status=UNDONE&limit=50&order=text}}
{{dolist>?status=UNDONE&limit=50&order=date}}

@fabienli fabienli mentioned this pull request Jan 26, 2023
@fabienli fabienli changed the title use 'order' argument to change the tasks order use 'order' argument to change the tasks order: by text or by date Jan 26, 2023
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

Successfully merging this pull request may close these issues.

1 participant