mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-01 05:51:52 +08:00
Fixed issues preventing breadcrumb navigation menus from opening
- Added tests to cover endpoint Fixes #1884
This commit is contained in:
@ -109,7 +109,7 @@ class SearchController extends Controller
|
||||
|
||||
// Page in chapter
|
||||
if ($entity->isA('page') && $entity->chapter) {
|
||||
$entities = $entity->chapter->visiblePages();
|
||||
$entities = $entity->chapter->getVisiblePages();
|
||||
}
|
||||
|
||||
// Page in book or chapter
|
||||
|
Reference in New Issue
Block a user