-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Automatic sorting, after creating a new page/chapter #2065
Comments
I agree. An example from my usage is having a new page for each retrospection, with date as a page name. It would be useful to automatically sort these - eg. by date of creation. |
I would really like to have the ability to order pages/books, as it would make finding specific pages much easier, paticularly on mobile, so you don't have to enlist your other hand to type out a search. Maybe sorting options like Alphabetical, date accessed/created/edited, length. ect. I'm just a lowly soldering iron jockey, but I feel like this would be fairly simple to implement with low risk of bug introduction. I've seen several (MANY) requests for this, but I'd be willing to toss $10 in a bounty pool to have this implemented. (wait, can we start a bug/feature request bounty pool? I'm down.) Also open in #180 |
I'm planning to use a shelf / book as a blog, so it'd be super cool if I could automatically have books and pages sort in reverse-chronological order automatically. |
I'd also like this. The granular sorting options are really good and I don't want this functionality to go away. I think it's a good default. But there are some books where I want automatic sorting, and I want the chapters at the top. Currently I do the following steps every single time I create a new page, and it seems like something that I should be able to automate:
|
If anyone is really desperate for this, I've written up a logical theme system customization that can achieve this: https://gist.github.com/ssddanbrown/78553a39d36187476283a00fd67ed3dc @DanMundy This follows your defined logic. |
Thanks for the original request @Biepa, and thanks for the input from everyone else. Within #5457 I have added "Sort Rules", which allows an admin to centrally define sort operations which can be applied as a default for new books, assigned to existing books by book editors, or be mass assigned via command line. This will be part of the next feature release. |
Hey @ssddanbrown, |
Describe the feature you'd like
To save the last used sorting on a book, so when a new page/chapter is created, the page/chapter is inserted at the right place and not at the end of the list.
Describe the benefits this feature would bring to BookStack users
No manual sorting after every new page/chapter.
Additional context
Another idea is a global option you can choose, for the default sort and then a "custom sorting" option on a book/chapter, so a manual sorting is still possible. But that's maybe a lot more work.
The text was updated successfully, but these errors were encountered: