]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/BookController.php
Found the source of the issue, not sure how to fix
[bookstack] / app / Http / Controllers / BookController.php
index a4365d6052645f261f13524ce2c682f4b7804c87..d577a85b134dcd060eebf72b2be744bc8914766e 100644 (file)
@@ -157,7 +157,7 @@ class BookController extends Controller
         $this->checkPermission('book-update');
         $book = $this->bookRepo->getBySlug($bookSlug);
         $bookChildren = $this->bookRepo->getChildren($book);
-        $books = $this->bookRepo->getAll();
+        $books = $this->bookRepo->getAll(false);
         $this->setPageTitle('Sort Book ' . $book->getShortName());
         return view('books/sort', ['book' => $book, 'current' => $book, 'books' => $books, 'bookChildren' => $bookChildren]);
     }