mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-25 06:51:08 +00:00
Add the correct path to category overview.
This commit is contained in:
@@ -136,6 +136,7 @@ class CategoryController extends Controller
|
|||||||
$set = $repository->getJournals($category, $page);
|
$set = $repository->getJournals($category, $page);
|
||||||
$count = $repository->countJournals($category);
|
$count = $repository->countJournals($category);
|
||||||
$journals = new LengthAwarePaginator($set, $count, 50, $page);
|
$journals = new LengthAwarePaginator($set, $count, 50, $page);
|
||||||
|
$journals->setPath('categories/show/' . $category->id);
|
||||||
|
|
||||||
return view('categories.show', compact('category', 'journals', 'hideCategory'));
|
return view('categories.show', compact('category', 'journals', 'hideCategory'));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user