Skip to content

Commit

Permalink
Merge pull request #2 from devalade/patch-1
Browse files Browse the repository at this point in the history
fix category filtering by tenant
  • Loading branch information
Shipu authored Oct 10, 2023
2 parents f68cd80 + 5bfeb88 commit ef92a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Filament/Resources/TransactionResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static function form(Form $form): Form
default => null,
};
if(!is_null($spendType)) {
return $query->where('type', $spendType);
return $query->tenant()->where('type', $spendType);
}

return $query;
Expand Down

0 comments on commit ef92a54

Please sign in to comment.