Describe the bug
When you delete a page from a chapter, you are returned to the book view, not the chapter view.
Steps To Reproduce
Steps to reproduce the behaviour:
- Go to a book with a chapter
- Click on the chapter
- Click on a page in the chapter
- Delete the page
- Observe that you are brought back to the book.
Expected behavior
Expected behaviour for me would be to go one step up in the breadcrumbs instead of going back to the book.
If you go from book -> chapter -> page -> delete, then it would make sense to me that you are brought back to the chapter
If you go from book -> expanded page list for a chapter -> page -> delete, then it would make sense to go back to the book (and bonus points if you can be scrolled back down to where the chapter is in the list)
If you go from dashboard -> page -> delete, then you should be brought back to the dashboard.
etc...
Screenshots
N/A
Your Configuration (please complete the following information):
- Exact BookStack Version: 0.27.4
- PHP Version: 7.3
- Hosting Method: Docker
Additional context
N/A
Describe the bug
When you delete a page from a chapter, you are returned to the book view, not the chapter view.
Steps To Reproduce
Steps to reproduce the behaviour:
Expected behavior
Expected behaviour for me would be to go one step up in the breadcrumbs instead of going back to the book.
If you go from book -> chapter -> page -> delete, then it would make sense to me that you are brought back to the chapter
If you go from book -> expanded page list for a chapter -> page -> delete, then it would make sense to go back to the book (and bonus points if you can be scrolled back down to where the chapter is in the list)
If you go from dashboard -> page -> delete, then you should be brought back to the dashboard.
etc...
Screenshots
N/A
Your Configuration (please complete the following information):
Additional context
N/A