mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Fixed issues preventing breadcrumb navigation menus from opening
- Added tests to cover endpoint Fixes #1884
This commit is contained in:
@@ -115,7 +115,7 @@ class Book extends Entity implements HasCoverImage
|
||||
{
|
||||
$pages = $this->directPages()->visible()->get();
|
||||
$chapters = $this->chapters()->visible()->get();
|
||||
return $pages->contact($chapters)->sortBy('priority')->sortByDesc('draft');
|
||||
return $pages->concat($chapters)->sortBy('priority')->sortByDesc('draft');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user