Fixed issues preventing breadcrumb navigation menus from opening

- Added tests to cover endpoint

Fixes #1884
This commit is contained in:
Dan Brown
2020-02-15 19:09:33 +00:00
parent 5978d9a0d3
commit 6caedc7a37
3 changed files with 80 additions and 8 deletions

View File

@ -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