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

Reverse Sorting by default for Hooks #386

Open
mcDevnagh opened this issue Jan 11, 2025 · 0 comments
Open

Reverse Sorting by default for Hooks #386

mcDevnagh opened this issue Jan 11, 2025 · 0 comments

Comments

@mcDevnagh
Copy link

I've created a hook to download RSS/Atom feeds, and I want to sort by most recent, according to the published date as provided by the feed. Because plato only supports publication year and added (which I think should be different from the published date), I encoded the publish date into the file name. The only problem is, when I set the sort-method to file-name, it orders them with the older entries first. I would like an option in [[libraries.hooks]] to reverse that, much like the current Reverse Order check in the UI

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

1 participant