In the code comments in book-all-books-block.tpl.php, the book_id (array key for book_menus) is supposed to be the parent book ID. Instead, it's just a sequential number (starting with 0). In screenshot, the node id of the parent book is 1, but the id is listing as 0.

Comments

legolasbo’s picture

Status: Active » Needs review
StatusFileSize
new840 bytes

Attached patch fixes this issue.

alansaviolobo’s picture

Issue summary: View changes
StatusFileSize
new835 bytes

reroll

Status: Needs review » Needs work

The last submitted patch, 2: book_navigation_block-1970968-2.patch, failed testing.

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: book_navigation_block-1970968-2.patch, failed testing.

legolasbo’s picture

Status: Needs work » Fixed
StatusFileSize
new117.55 KB

After reviewing the current codebase i found out that this bug has already been fixed.
Marking this issue fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.