mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-21 22:36:05 +08:00
Added pagination to books page
This commit is contained in:
@ -40,7 +40,7 @@ class BookController extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$books = $this->bookRepo->getAll();
|
||||
$books = $this->bookRepo->getAllPaginated(10);
|
||||
return view('books/index', ['books' => $books]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user