Title and top level settings are not respected

Created on 8 July 2025, 23 days ago

Hi, and thanks for working on this module!

This is related to 🐛 Book navigation title override doesn't work with custom book block Active which describes a different but related setting.

However, there is also this setting:

Show top level item
Enable this option to display the first page in the book with all other pages displayed below it.

This is not respected in the code it seems, so there is no way to show the first page in the book at all, if you decide to show the block only on book pages. If you show it on all pages, it does render the full tree. The code will only render items below the top page.

Steps to reproduce

  • Add a book nav block to a region
  • Set to show dynamic and only on book pages
  • See that only the sub links are rendered, not the main book page
  • Switch to "show on all pages"
  • See that the full book tree is shown
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇳🇴Norway vegardjo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024