Deleting page from chapter returns to book, not chapter #1405

Closed
opened 2026-02-05 00:48:47 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @cnfw on GitHub (Oct 14, 2019).

Originally assigned to: @ssddanbrown on GitHub.

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:

  1. Go to a book with a chapter
  2. Click on the chapter
  3. Click on a page in the chapter
  4. Delete the page
  5. 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

Originally created by @cnfw on GitHub (Oct 14, 2019). Originally assigned to: @ssddanbrown on GitHub. **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: 1. Go to a book with a chapter 2. Click on the chapter 3. Click on a page in the chapter 4. Delete the page 5. 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
OVERLORD added the 🛠️ Enhancement🏭 Back-End💆 UX labels 2026-02-05 00:48:47 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Dec 16, 2019):

Thanks for the suggestion @cw1998.
I agreed that this behaviour would make sense. I have now applied this behaviour to master, to be part of the next feature release (v0.28).

@ssddanbrown commented on GitHub (Dec 16, 2019): Thanks for the suggestion @cw1998. I agreed that this behaviour would make sense. I have now applied this behaviour to `master`, to be part of the next feature release (v0.28).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1405