mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Attachments for categories #2828
This commit is contained in:
@@ -179,7 +179,7 @@ class CategoryRepository implements CategoryRepositoryInterface
|
||||
public function getCategories(): Collection
|
||||
{
|
||||
/** @var Collection $set */
|
||||
$set = $this->user->categories()->orderBy('name', 'ASC')->get();
|
||||
$set = $this->user->categories()->with(['attachments'])->orderBy('name', 'ASC')->get();
|
||||
|
||||
return $set;
|
||||
}
|
||||
|
Reference in New Issue
Block a user