]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/SearchController.php
Updated styles to use logical properties/values
[bookstack] / app / Http / Controllers / SearchController.php
index a5cd7ad6b82224f094173f1d76b2d4a864b48174..a5d57741d5295d9a315ba190c3dec2e9a57a3cc6 100644 (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