mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 09:51:21 -06:00
Fix show tag [skip ci]
This commit is contained in:
parent
3d2f33c120
commit
2606d77c62
@ -7,6 +7,7 @@ use Auth;
|
||||
use FireflyIII\Http\Requests\TagFormRequest;
|
||||
use FireflyIII\Models\Preference;
|
||||
use FireflyIII\Models\Tag;
|
||||
use FireflyIII\Models\TransactionJournal;
|
||||
use FireflyIII\Repositories\Tag\TagRepositoryInterface;
|
||||
use Illuminate\Support\Collection;
|
||||
use Input;
|
||||
@ -219,8 +220,9 @@ class TagController extends Controller
|
||||
{
|
||||
$subTitle = $tag->tag;
|
||||
$subTitleIcon = 'fa-tag';
|
||||
$journals = $tag->transactionjournals()->expanded()->get(TransactionJournal::QUERYFIELDS);
|
||||
|
||||
return view('tags.show', compact('tag', 'subTitle', 'subTitleIcon'));
|
||||
return view('tags.show', compact('tag', 'subTitle', 'subTitleIcon','journals'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -93,7 +93,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body table-responsive no-padding">
|
||||
{% include 'list/journals.twig' with {'journals': tag.transactionjournals} %}
|
||||
{% include 'list/journals.twig' %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user