mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-06 04:34:00 +00:00
Do now show not uploaded attachments #3973
This commit is contained in:
@@ -528,6 +528,7 @@ class GroupCollector implements GroupCollectorInterface
|
|||||||
->where(
|
->where(
|
||||||
static function (EloquentBuilder $q1) {
|
static function (EloquentBuilder $q1) {
|
||||||
$q1->where('attachments.attachable_type', TransactionJournal::class);
|
$q1->where('attachments.attachable_type', TransactionJournal::class);
|
||||||
|
$q1->where('attachments.uploaded',1);
|
||||||
$q1->orWhereNull('attachments.attachable_type');
|
$q1->orWhereNull('attachments.attachable_type');
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user