mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-23 15:19:58 +08:00
Added limit to books shown on homepage and make alphabetical
This commit is contained in:
@ -36,7 +36,7 @@ class HomeController extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$books = $this->bookRepo->getAll();
|
||||
$books = $this->bookRepo->getAll(10);
|
||||
$activity = $this->activityService->latest();
|
||||
return view('home', ['books' => $books, 'activity' => $activity]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user